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) void
writeComments
(SourceFileWriter writer)
-
Field Details
-
comments
-
-
Constructor Details
-
BasicJCommentable
BasicJCommentable()
-
-
Method Details
-
lineComment
Description copied from interface:JCommentable
Add a line comment.- Specified by:
lineComment
in interfaceJCommentable
- Returns:
- the line comment body
-
blockComment
Description copied from interface:JCommentable
Add a block comment.- Specified by:
blockComment
in interfaceJCommentable
- Returns:
- the block comment body
-
writeComments
- Throws:
IOException
-