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?
|
boolean |
isVolatile()
Is the field volatile?
|
getType
asEnumConstant, asMethod, asParameter, asType, asTypePattern, getName, hasName, isEnumConstant, isMethod, isParameter, isType, isTypePattern, isVariable
toAst, toAst
accessSpecifier
boolean isStatic()
boolean isVolatile()
default boolean isField()
ResolvedDeclaration
isField
in interface ResolvedDeclaration
default ResolvedFieldDeclaration asField()
ResolvedDeclaration
asField
in interface ResolvedDeclaration
ResolvedTypeDeclaration declaringType()
Copyright © 2007–2024. All rights reserved.