Class AbstractJDocCommentable
java.lang.Object
org.jboss.jdeparser.BasicJCommentable
org.jboss.jdeparser.AbstractJDocCommentable
- All Implemented Interfaces:
JCommentable, JDocCommentable
- Direct Known Subclasses:
BasicJAnnotatable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMark this program element as deprecated.Get or create the doc comment for this element.(package private) voidwriteDocComments(SourceFileWriter writer) Methods inherited from class BasicJCommentable
blockComment, lineComment, writeCommentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JCommentable
blockComment, lineComment
-
Field Details
-
docComment
-
-
Constructor Details
-
AbstractJDocCommentable
AbstractJDocCommentable()
-
-
Method Details
-
docComment
Description copied from interface:JDocCommentableGet or create the doc comment for this element.- Specified by:
docCommentin interfaceJDocCommentable- Returns:
- the doc comment body
-
deprecated
Description copied from interface:JDocCommentableMark this program element as deprecated.- Specified by:
deprecatedin interfaceJDocCommentable- Returns:
- the deprecation tag body
-
writeDocComments
- Throws:
IOException
-