public abstract class Comment extends Node
BlockComment,
LineComment,
JavadocCommentABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE| Constructor and Description |
|---|
Comment() |
Comment(int beginLine,
int beginColumn,
int endLine,
int endColumn,
String content) |
Comment(String content) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Return the text of the comment.
|
void |
setContent(String content)
Sets the text of the comment.
|
accept, accept, addOrphanComment, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toStringCopyright © 2007–2017. All rights reserved.