- All Superinterfaces:
- HasModifiersT, Tree
- All Known Subinterfaces:
- ClassInitializerT, ClassT, FieldDeclT, FieldVariableT, MethodT
- public interface MemberT
- extends Tree, HasModifiersT
Common supertype for elements that may be a member of a type
declaration.
| 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 |
| Methods inherited from interface javax.ide.model.java.source.tree.HasModifiersT |
addModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiers |
EMPTY_ARRAY
public static final MemberT[] EMPTY_ARRAY
getDeclaringClass
public ClassT getDeclaringClass()
- Gets the enclosing class.
getDocComment
public DocCommentT getDocComment()
- Gets the javadoc comment symbol.
setDocComment
public void setDocComment(DocCommentT comment)
- Attempts to set the javadoc comment symbol.
getBlock
public BlockT getBlock()
- Gets the declared code block, null if none.
setBlock
public void setBlock(BlockT block)
- Attempts to set the code block associated with this element.