public interface SourceFieldDeclaration extends SourceMember, SourceVariableDeclaration
Modifier and Type | Field and Description |
---|---|
static SourceFieldDeclaration[] |
EMPTY_ARRAY |
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT
Modifier and Type | Method and Description |
---|---|
boolean |
isAbstract()
True if this is abstract.
|
boolean |
isPrivate()
True if this is private.
|
boolean |
isProtected()
True if this is protected.
|
boolean |
isPublic()
True if this is public.
|
boolean |
isStatic()
True if this is static.
|
getDocComment, getEnclosingClass, hasDeprecatedTag, hasHiddenTag, setDocComment
getOwningClass, getUniqueIdentifier, isPackagePrivate
getResolvedType, getUnresolvedType
getName
getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo
getSourceType, getVariables
addModifiers, getModifiers, getSourceAnnotations, isValidModifiers, removeModifiers, setModifiers
setSourceType
addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getJdkVersion, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf
static final SourceFieldDeclaration[] EMPTY_ARRAY
boolean isPublic()
isPublic
in interface JavaMember
boolean isProtected()
isProtected
in interface JavaMember
boolean isPrivate()
isPrivate
in interface JavaMember
boolean isStatic()
isStatic
in interface JavaMember
boolean isAbstract()
isAbstract
in interface JavaMember