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()
JCommentablelineComment in interface JCommentablepublic JComment blockComment()
JCommentableblockComment in interface JCommentablevoid writeComments(SourceFileWriter writer) throws java.io.IOException
java.io.IOException