public interface IDOMMember extends IDOMNode
IDOMMember
defines functionality common to nodes, which
can be members of types.IDOMType
,
IDOMMethod
,
IDOMField
,
IDOMInitializer
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Deprecated.
Returns the comment associated with this member (including comment delimiters).
|
int |
getFlags()
Deprecated.
Returns the flags for this member.
|
void |
setComment(String comment)
Deprecated.
Sets the comment associated with this member.
|
void |
setFlags(int flags)
Deprecated.
Sets the flags for this member.
|
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getName, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove, setName
String getComment()
null
if this member has no associated
commentint getFlags()
Flags
class.Flags
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)
void setFlags(int flags)
Flags
class. The deprecated flag passed in is ignored.flags
- the flagsFlags
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.