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