Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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

All Superinterfaces:
HasModifiersT, Tree
All Known Subinterfaces:
ClassInitializerT, ClassT, EnumConstantT, FieldDeclT, FieldVariableT, MemberVariableT, 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.HasModifiersT
addModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiers
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Field Detail

EMPTY_ARRAY

static final MemberT[] EMPTY_ARRAY
Method Detail

getDeclaringClass

ClassT getDeclaringClass()
Gets the enclosing class.

Returns:
the class enclosing this member.

getDocComment

DocCommentT getDocComment()
Gets the javadoc comment symbol.

Returns:
The DocCommentT associated with this symbol.

setDocComment

void setDocComment(DocCommentT comment)
Attempts to set the javadoc comment symbol.

Parameters:
comment - The new comment element.

getBlock

BlockT getBlock()
Gets the declared code block, null if none.

Returns:
The code block associated with this element. Null if none.

setBlock

void setBlock(BlockT block)
Attempts to set the code block associated with this element.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.