public final class CommentImpl extends ElementImpl implements MComment
Implementation
NO_ANNOTATION, NO_CLASS, NO_COMMENT, NO_CONSTRUCTOR, NO_FIELD, NO_METHOD, NO_NODE, NO_PACKAGE, NO_PARAMETER, NO_PROPERTY| Modifier and Type | Method and Description |
|---|---|
void |
accept(JVisitor visitor)
Accepts the given visitor.
|
void |
accept(MVisitor visitor) |
String |
getQualifiedName()
Returns a qualified name for this abstraction.
|
String |
getText()
Returns the text of this comment.
|
void |
setText(String text)
Sets the text of this comment.
|
compareTo, createSourcePosition, defaultName, equals, getArtifact, getClassLoader, getContext, getMutableSourcePosition, getParent, getSimpleName, getSourcePosition, hashCode, removeSourcePosition, setArtifact, setSimpleName, toStringcreateSourcePosition, getClassLoader, getMutableSourcePosition, removeSourcePosition, setArtifact, setSimpleNamegetSourcePositiongetArtifact, getParent, getSimpleName, toStringpublic void setText(String text)
MCommentpublic String getText()
JCommentpublic void accept(JVisitor visitor)
JElementAccepts the given visitor.
public String getQualifiedName()
JElementReturns a qualified name for this abstraction. The exact format of this name depends on the particular abstraction. Please refer to the documentation for each JElement subclass for a detailed description of the qualified name formats.
getQualifiedName in interface JElementCopyright © 2010 - 2020 Adobe. All Rights Reserved