public abstract class JDOMJMember extends JDOMJNode implements JMember
EMPTY_STRING_ARRAY, qualifiedName| Modifier | Constructor and Description |
|---|---|
protected |
JDOMJMember(IDOMMember member) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment()
Returns the comment associated with this member (including comment delimiters).
|
java.lang.String |
getContents()
Returns the current contents of this document fragment.
|
int |
getFlags()
Returns the modifier flags for this node.
|
protected IDOMMember |
getWrappedObject() |
void |
setComment(java.lang.String comment)
Sets the comment associated with this member.
|
void |
setFlags(int flags)
Sets the flags for this member.
|
protected java.lang.String[] |
splitLastComment(java.lang.String contents) |
dispose, getChildren, getFacadeHelper, getName, getParent, isDisposed, setFacadeHelper, setNamecomputeQualifiedName, computeQualifiedName, computeQualifiedName, computeQualifiedName, getName, getQualifiedNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, getName, getParent, getQualifiedName, setNameprotected IDOMMember getWrappedObject()
getWrappedObject in class JDOMJNodepublic int getFlags()
JNodeFacadeFlags.public void setFlags(int flags)
JNodeFacadeFlags class.public java.lang.String getComment()
JMembergetComment in interface JMembernull if this member has no associated
commentpublic void setComment(java.lang.String comment)
JMembernull comment indicates no comment.setComment in interface JMembercomment - the comment, including comment delimiters, or
null indicating this member should have no associated commentpublic java.lang.String getContents()
JNodeNote: To obtain complete source for the ".java" file, ask a compilation unit node for its contents.
getContents in interface JNodegetContents in class JDOMJNodenull if this node has no contentsprotected java.lang.String[] splitLastComment(java.lang.String contents)
Copyright © 2021. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature