public interface ResolvedFieldDeclaration extends ResolvedValueDeclaration, HasAccessSpecifier
| Modifier and Type | Method and Description |
|---|---|
default ResolvedFieldDeclaration |
asField()
Return this as a FieldDeclaration or throw an UnsupportedOperationException
|
ResolvedTypeDeclaration |
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?
|
getTypeasEnumConstant, asMethod, asParameter, asType, getName, hasName, isEnumConstant, isMethod, isParameter, isType, isVariableaccessSpecifierboolean isStatic()
default boolean isField()
ResolvedDeclarationisField in interface ResolvedDeclarationdefault ResolvedFieldDeclaration asField()
ResolvedDeclarationasField in interface ResolvedDeclarationResolvedTypeDeclaration declaringType()
Copyright © 2007–2019. All rights reserved.