class BasicJCommentable extends java.lang.Object implements JCommentable
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<AbstractJComment> |
comments |
Constructor and Description |
---|
BasicJCommentable() |
Modifier and Type | Method and Description |
---|---|
JComment |
blockComment()
Add a block comment.
|
JComment |
lineComment()
Add a line comment.
|
(package private) void |
writeComments(SourceFileWriter writer) |
private java.util.ArrayList<AbstractJComment> comments
public JComment lineComment()
JCommentable
lineComment
in interface JCommentable
public JComment blockComment()
JCommentable
blockComment
in interface JCommentable
void writeComments(SourceFileWriter writer) throws java.io.IOException
java.io.IOException