| Index: sdk/lib/mirrors/mirrors.dart
|
| diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart
|
| index 584d12a81e725d23c65a558ec572d96e1d831734..cf8e26ed26ad9ed419e3b3381fbbc828fb76c8ea 100644
|
| --- a/sdk/lib/mirrors/mirrors.dart
|
| +++ b/sdk/lib/mirrors/mirrors.dart
|
| @@ -104,6 +104,19 @@ abstract class MirrorSystem {
|
| * [MirrorsUsed] to specify which symbols must be retained in clear text.
|
| */
|
| external static String getName(Symbol symbol);
|
| +
|
| + /**
|
| + * Returns a symbol for [name]. If [library] is not a [LibraryMirror] or if
|
| + * [name] is a private identifier and [library] is [:null:], throws an
|
| + * [ArgumentError]. If [name] is a private identifier, the symbol returned is
|
| + * with respect to [library].
|
| + *
|
| + * The following text is non-normative:
|
| + *
|
| + * Using this method may result in larger output. If possible, use
|
| + * the const constructor of Symbol or symbol literals.
|
| + */
|
| + external static Symbol getSymbol(String name, [LibraryMirror library]);
|
| }
|
|
|
| /**
|
|
|