Modifier and Type | Interface and Description |
---|---|
interface |
JDocComment
A JavaDoc comment.
|
interface |
JHtmlComment
A comment that supports HTML content.
|
interface |
JHtmlTag |
Modifier and Type | Method and Description |
---|---|
JComment |
JMethodDef._throws(Class<? extends Throwable> type)
Get a
@throws doc comment block. |
JComment |
JMethodDef._throws(JType type)
Get a
@throws doc comment block. |
JComment |
JMethodDef._throws(String type)
Get a
@throws doc comment block. |
JComment |
JComment.block()
Add a comment sub-block at this location.
|
JComment |
JCommentable.blockComment()
Add a block comment.
|
JComment |
JComment.code()
Add an inline code tag.
|
JComment |
JDocCommentable.deprecated()
Mark this program element as deprecated.
|
JComment |
JParamDeclaration.doc()
Get the
@param JavaDoc block for this parameter. |
JComment |
JComment.docRoot()
Add the
{@docRoot} tag at this position. |
JComment |
JComment.inlineDocTag(String tag)
Add an inline doc tag.
|
JComment |
JDocComment.inlineDocTag(String tag)
Add an inline doc tag.
|
JComment |
JComment.inlineDocTag(String tag,
String body)
Add an inline doc tag with simple content.
|
JComment |
JCommentable.lineComment()
Add a line comment.
|
JComment |
JComment.linkConstructor(boolean plain,
JType targetType,
JType... targetConstructorArgumentTypes)
Add an inline
@link to a constructor. |
JComment |
JComment.linkField(boolean plain,
JType targetType,
String targetField)
Add an inline
@link to a field of a type. |
JComment |
JComment.linkMethod(boolean plain,
JMethodDef methodDef)
Add an inline
@link to a method. |
JComment |
JComment.linkMethod(boolean plain,
JType targetType,
String targetMethod,
JType... targetMethodArgumentTypes)
Add an inline
@link to a method. |
JComment |
JComment.linkType(boolean plain,
JType targetType)
Add an inline
@link to a type. |
JComment |
JComment.nl()
Add a newline.
|
JComment |
JHtmlComment.preformattedCode()
Add an inline
@code tag within a {@code |
JComment |
JMethodDef.returnsDoc()
Get the
@return doc comment block. |
JComment |
JComment.sp()
Add a non-trailing space.
|
JComment |
JComment.text(String text)
Add some text to the end of this comment.
|
JComment |
JComment.typeName(JType type)
Add a type name to the end of this comment.
|
Copyright © 2016. All rights reserved.