public abstract class Comment
extends java.lang.Object
BlockComment
,
LineComment
,
JavadocComment
Constructor and Description |
---|
Comment() |
Comment(java.lang.String content) |
Modifier and Type | Method and Description |
---|---|
<A> void |
accept(VoidVisitor<A> v,
A arg) |
java.lang.String |
getContent()
Return the text of the comment.
|
void |
setContent(java.lang.String content)
Sets the text of the comment.
|
public final java.lang.String getContent()
public void setContent(java.lang.String content)
content
- the text of the comment to setpublic <A> void accept(VoidVisitor<A> v, A arg)
Copyright © 2015. All Rights Reserved.