| Index: sdk/lib/mirrors/mirrors.dart
|
| diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart
|
| index 2651d723a5295400155dd520b5e175e2a4493b9a..12375dda6a6ec09f2ddcb2e2f8861dd4aa0218a4 100644
|
| --- a/sdk/lib/mirrors/mirrors.dart
|
| +++ b/sdk/lib/mirrors/mirrors.dart
|
| @@ -578,6 +578,18 @@ abstract class LibraryMirror implements DeclarationMirror, ObjectMirror {
|
| Map<Symbol, DeclarationMirror> get declarations;
|
|
|
| /**
|
| + * Returns a map of the top-level methods, getters and setters of the library.
|
| + *
|
| + * The intent is to capture those members that constitute the API of a
|
| + * library. Hence fields are not included, but the getters and setters
|
| + * implicitly introduced by fields are included. Synthetic getters for the
|
| + * types exported by the library are also included.
|
| + *
|
| + * The map is keyed by the simple names of the members.
|
| + */
|
| + Map<Symbol, MethodMirror> get topLevelMembers;
|
| +
|
| + /**
|
| * Returns [:true:] if this mirror is equal to [other].
|
| * Otherwise returns [:false:].
|
| *
|
| @@ -711,6 +723,32 @@ abstract class ClassMirror implements TypeMirror, ObjectMirror {
|
| Map<Symbol, DeclarationMirror> get declarations;
|
|
|
| /**
|
| + * Returns a map of the methods, getters and setters of an instance of the
|
| + * class.
|
| + *
|
| + * The intent is to capture those members that constitute the API of an
|
| + * instance. Hence fields are not included, but the getters and setters
|
| + * implicitly introduced by fields are included. The map includes methods,
|
| + * getters and setters that are inherited as well as those introduced by the
|
| + * class itself.
|
| + *
|
| + * The map is keyed by the simple names of the members.
|
| + */
|
| + Map<Symbol, MethodMirror> get instanceMembers;
|
| +
|
| + /**
|
| + * Returns a map of the static methods, getters and setters of the class.
|
| + *
|
| + * The intent is to capture those members that constitute the API of a class.
|
| + * Hence fields are not included, but the getters and setters implicitly
|
| + * introduced by fields are included.
|
| + *
|
| + * The map is keyed by the simple names of the members.
|
| + */
|
| + Map<Symbol, MethodMirror> get staticMembers;
|
| +
|
| +
|
| + /**
|
| * The mixin of this class.
|
| * If this class is the result of a mixin application of the
|
| * form S with M, returns a class mirror on M.
|
|
|