| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 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 |
| 4 |
| 5 part of models; |
| 6 |
| 7 abstract class FieldRef extends ObjectRef { |
| 8 /// The name of this field. |
| 9 String get name; |
| 10 |
| 11 /// The owner of this field, which can be either a Library or a |
| 12 /// Class. |
| 13 ObjectRef get dartOwner; |
| 14 |
| 15 /// The declared type of this field. |
| 16 /// |
| 17 /// The value will always be of one of the kinds: |
| 18 /// Type, TypeRef, TypeParameter, BoundedType. |
| 19 InstanceRef get declaredType; |
| 20 |
| 21 /// Is this field const? |
| 22 bool get isConst; |
| 23 |
| 24 /// Is this field final? |
| 25 bool get isFinal; |
| 26 |
| 27 /// Is this field static? |
| 28 bool get isStatic; |
| 29 } |
| OLD | NEW |