|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An IDOMMember
defines functionality common to nodes, which
can be members of types.
This interface is not intended to be implemented by clients.
IDOMType
,
IDOMMethod
,
IDOMField
,
IDOMInitializer
Field Summary |
Fields inherited from interface org.eclipse.jdt.core.jdom.IDOMNode |
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE |
Method Summary | |
String |
getComment()
Returns the comment associated with this member (including comment delimiters). |
int |
getFlags()
Returns the flags for this member. |
void |
setComment(String comment)
Sets the comment associated with this member. |
void |
setFlags(int flags)
Sets the flags for this member. |
Methods inherited from interface org.eclipse.jdt.core.jdom.IDOMNode |
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getName, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove, setName |
Method Detail |
public String getComment()
null
if this member has no associated
commentpublic int getFlags()
Flags
class.
Flags
public void setComment(String comment)
null
comment indicates no comment. This member's
deprecated flag is automatically set to reflect the deprecated tag in the
comment.
comment
- the comment, including comment delimiters, or
null
indicating this member should have no associated commentsetFlags(int)
public void setFlags(int flags)
Flags
class. The deprecated flag passed in is ignored.
flags
- the flagsFlags
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |