- All Superinterfaces:
- HasModifiersT, MemberT, Tree, VariableDeclT
- public interface FieldDeclT
- extends MemberT, VariableDeclT
A field (or enum constant) declaration.
|
Method Summary |
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. |
| Methods inherited from interface javax.ide.model.java.source.tree.Tree |
accept, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty |
EMPTY_ARRAY
public static final FieldDeclT[] EMPTY_ARRAY
isPublic
public boolean isPublic()
- True if this is public.
- Specified by:
isPublic in interface HasModifiersT
isProtected
public boolean isProtected()
- True if this is protected.
- Specified by:
isProtected in interface HasModifiersT
isPrivate
public boolean isPrivate()
- True if this is private.
- Specified by:
isPrivate in interface HasModifiersT
isStatic
public boolean isStatic()
- True if this is static.
- Specified by:
isStatic in interface HasModifiersT
isAbstract
public boolean isAbstract()
- True if this is abstract.
- Specified by:
isAbstract in interface HasModifiersT