public interface JMember extends JNode
JMember
defines functionality common to nodes, which
can be members of types.JType
,
JMethod
,
JField
,
JInitializer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Returns the comment associated with this member (including comment delimiters).
|
void |
setComment(java.lang.String comment)
Sets the comment associated with this member.
|
getChildren, getContents, getFlags, getName, getParent, getQualifiedName, setFlags, setName
java.lang.String getComment()
null
if this member has no associated
commentvoid setComment(java.lang.String comment)
null
comment indicates no comment.comment
- the comment, including comment delimiters, or
null
indicating this member should have no associated comment