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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 * If this type is [:Object:], the superclass will be null. | 698 * If this type is [:Object:], the superclass will be null. |
699 */ | 699 */ |
700 ClassMirror get superclass; | 700 ClassMirror get superclass; |
701 | 701 |
702 /** | 702 /** |
703 * A list of mirrors on the superinterfaces of the reflectee. | 703 * A list of mirrors on the superinterfaces of the reflectee. |
704 */ | 704 */ |
705 List<ClassMirror> get superinterfaces; | 705 List<ClassMirror> get superinterfaces; |
706 | 706 |
707 /** | 707 /** |
708 * Is the reflectee abstract? | |
709 */ | |
710 bool get isAbstract; | |
711 | |
712 /** | |
713 * Returns an immutable map of the declarations actually given in the class | 708 * Returns an immutable map of the declarations actually given in the class |
714 * declaration. | 709 * declaration. |
715 * | 710 * |
716 * This map includes all regular methods, getters, setters, fields, | 711 * This map includes all regular methods, getters, setters, fields, |
717 * constructors and type variables actually declared in the class. Both | 712 * constructors and type variables actually declared in the class. Both |
718 * static and instance members are included, but no inherited members are | 713 * static and instance members are included, but no inherited members are |
719 * included. The map is keyed by the simple names of the declarations. | 714 * included. The map is keyed by the simple names of the declarations. |
720 * | 715 * |
721 * This does not include inherited members. | 716 * This does not include inherited members. |
722 */ | 717 */ |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 * | 1203 * |
1209 * When used as metadata on an import of "dart:mirrors", this metadata does | 1204 * When used as metadata on an import of "dart:mirrors", this metadata does |
1210 * not apply to the library in which the annotation is used, but instead | 1205 * not apply to the library in which the annotation is used, but instead |
1211 * applies to the other libraries (all libraries if "*" is used). | 1206 * applies to the other libraries (all libraries if "*" is used). |
1212 */ | 1207 */ |
1213 final override; | 1208 final override; |
1214 | 1209 |
1215 const MirrorsUsed( | 1210 const MirrorsUsed( |
1216 {this.symbols, this.targets, this.metaTargets, this.override}); | 1211 {this.symbols, this.targets, this.metaTargets, this.override}); |
1217 } | 1212 } |
OLD | NEW |