| Index: sdk/lib/mirrors/mirrors.dart
|
| diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart
|
| index 08259558a22f58ec60dd999dfc6bcc3ea2b1dfb1..0c2993124c743f8291a3fa864f857017f559f441 100644
|
| --- a/sdk/lib/mirrors/mirrors.dart
|
| +++ b/sdk/lib/mirrors/mirrors.dart
|
| @@ -615,6 +615,19 @@ abstract class LibraryMirror implements DeclarationMirror, ObjectMirror {
|
| */
|
| abstract class TypeMirror implements DeclarationMirror {
|
| /**
|
| + * Returns true if this mirror reflects dynamic, a non-generic class or
|
| + * typedef, or an instantiated generic class or typedef in the current
|
| + * isolate. Otherwise, returns false.
|
| + */
|
| + bool get hasReflectedType;
|
| +
|
| + /**
|
| + * If [:hasReflectedType:] returns true, returns the corresponding [Type].
|
| + * Otherwise, an [UnsupportedError] is thrown.
|
| + */
|
| + Type get reflectedType;
|
| +
|
| + /**
|
| * An immutable list with mirrors for all type variables for this type.
|
| *
|
| * If this type is a generic declaration or an invocation of a generic
|
| @@ -683,18 +696,6 @@ abstract class TypeMirror implements DeclarationMirror {
|
| */
|
| abstract class ClassMirror implements TypeMirror, ObjectMirror {
|
| /**
|
| - * Returns true if this mirror reflects a non-generic class or an instantiated
|
| - * generic class in the current isolate. Otherwise, returns false.
|
| - */
|
| - bool get hasReflectedType;
|
| -
|
| - /**
|
| - * If [:hasReflectedType:] returns true, returns the corresponding [Type].
|
| - * Otherwise, an [UnsupportedError] is thrown.
|
| - */
|
| - Type get reflectedType;
|
| -
|
| - /**
|
| * A mirror on the superclass on the reflectee.
|
| *
|
| * If this type is [:Object:], the superclass will be null.
|
|
|