public class CommentAnnotation extends Annotation
| Constructor and Description |
|---|
CommentAnnotation(java.lang.String comment)
Constructs a new comment annotation with the given comment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setOneLiner(boolean one_liner)
Sets the one_liner field; true for one-liner comments, false for
normal multi-line comments.
|
java.lang.String |
toString()
Returns the string representation of this comment.
|
attach, clone, detach, get, getAnnotatable, hideAnnotations, setPosition, setSkipPrint, toStringpublic CommentAnnotation(java.lang.String comment)
public void setOneLiner(boolean one_liner)
public java.lang.String toString()
toString in class Annotation