public interface FieldDeclaration extends ValueDeclaration, HasAccessLevel
| Modifier and Type | Method and Description |
|---|---|
default FieldDeclaration |
asField()
Return this as a FieldDeclaration or throw an UnsupportedOperationException
|
TypeDeclaration |
declaringType()
The type on which this field has been declared
|
default boolean |
isField()
Does this declaration represents a class field?
|
boolean |
isStatic()
Is the field static?
|
getTypeasMethod, asParameter, asType, getName, hasName, isMethod, isParameter, isTypeaccessLevelboolean isStatic()
default boolean isField()
DeclarationisField in interface Declarationdefault FieldDeclaration asField()
DeclarationasField in interface DeclarationTypeDeclaration declaringType()
Copyright © 2016. All rights reserved.