Package org.jboss.jdeparser
Class BasicJCommentable
java.lang.Object
org.jboss.jdeparser.BasicJCommentable
- All Implemented Interfaces:
JCommentable
- Direct Known Subclasses:
AbstractJDocCommentable,BasicJBlock,BasicJStatement,ExpressionJStatement,ImplJLabel,ImplJSourceFile,ImplJSwitch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a block comment.Add a line comment.(package private) voidwriteComments(SourceFileWriter writer)
-
Field Details
-
comments
-
-
Constructor Details
-
BasicJCommentable
BasicJCommentable()
-
-
Method Details
-
lineComment
Description copied from interface:JCommentableAdd a line comment.- Specified by:
lineCommentin interfaceJCommentable- Returns:
- the line comment body
-
blockComment
Description copied from interface:JCommentableAdd a block comment.- Specified by:
blockCommentin interfaceJCommentable- Returns:
- the block comment body
-
writeComments
- Throws:
IOException
-