| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // For the purposes of the mirrors library, we adopt a naming | 5 // For the purposes of the mirrors library, we adopt a naming |
| 6 // convention with respect to getters and setters. Specifically, for | 6 // convention with respect to getters and setters. Specifically, for |
| 7 // some variable or field... | 7 // some variable or field... |
| 8 // | 8 // |
| 9 // var myField; | 9 // var myField; |
| 10 // | 10 // |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 * A list of mirrors on the superinterfaces of the reflectee. | 737 * A list of mirrors on the superinterfaces of the reflectee. |
| 738 */ | 738 */ |
| 739 List<ClassMirror> get superinterfaces; | 739 List<ClassMirror> get superinterfaces; |
| 740 | 740 |
| 741 /** | 741 /** |
| 742 * Is the reflectee abstract? | 742 * Is the reflectee abstract? |
| 743 */ | 743 */ |
| 744 bool get isAbstract; | 744 bool get isAbstract; |
| 745 | 745 |
| 746 /** | 746 /** |
| 747 * Is the reflectee an enum? |
| 748 */ |
| 749 bool get isEnum; |
| 750 |
| 751 /** |
| 747 * Returns an immutable map of the declarations actually given in the class | 752 * Returns an immutable map of the declarations actually given in the class |
| 748 * declaration. | 753 * declaration. |
| 749 * | 754 * |
| 750 * This map includes all regular methods, getters, setters, fields, | 755 * This map includes all regular methods, getters, setters, fields, |
| 751 * constructors and type variables actually declared in the class. Both | 756 * constructors and type variables actually declared in the class. Both |
| 752 * static and instance members are included, but no inherited members are | 757 * static and instance members are included, but no inherited members are |
| 753 * included. The map is keyed by the simple names of the declarations. | 758 * included. The map is keyed by the simple names of the declarations. |
| 754 * | 759 * |
| 755 * This does not include inherited members. | 760 * This does not include inherited members. |
| 756 */ | 761 */ |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1256 * | 1261 * |
| 1257 * When used as metadata on an import of "dart:mirrors", this metadata does | 1262 * When used as metadata on an import of "dart:mirrors", this metadata does |
| 1258 * not apply to the library in which the annotation is used, but instead | 1263 * not apply to the library in which the annotation is used, but instead |
| 1259 * applies to the other libraries (all libraries if "*" is used). | 1264 * applies to the other libraries (all libraries if "*" is used). |
| 1260 */ | 1265 */ |
| 1261 final override; | 1266 final override; |
| 1262 | 1267 |
| 1263 const MirrorsUsed( | 1268 const MirrorsUsed( |
| 1264 {this.symbols, this.targets, this.metaTargets, this.override}); | 1269 {this.symbols, this.targets, this.metaTargets, this.override}); |
| 1265 } | 1270 } |
| OLD | NEW |