Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.tree
Interface MemberT  view MemberT download MemberT.java

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.


Field Summary
static MemberT[] EMPTY_ARRAY
           
 
Method Summary
 BlockT getBlock()
          Gets the declared code block, null if none.
 ClassT getDeclaringClass()
          Gets the enclosing class.
 DocCommentT getDocComment()
          Gets the javadoc comment symbol.
 void setBlock(BlockT block)
          Attempts to set the code block associated with this element.
 void setDocComment(DocCommentT comment)
          Attempts to set the javadoc comment symbol.
 
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
 

Field Detail

EMPTY_ARRAY

public static final MemberT[] EMPTY_ARRAY
Method Detail

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.