class BlockJComment extends AbstractJComment implements ClassContent, ClassFileContent, BlockContent, JClassItem
JClassItem.KindCLOSE_PAREN_CONTENT, COMMA_CONTENT, DOC_ROOT_CONTENT, HASH_CONTENT, NL_CONTENT, OPEN_PAREN_CONTENTSMART_NAME_SORT| Constructor and Description |
|---|
BlockJComment() |
| Modifier and Type | Method and Description |
|---|---|
JClassItem.Kind |
getItemKind()
Get the kind of item.
|
int |
getModifiers()
Get the modifiers of this item.
|
java.lang.String |
getName()
Get the name of this element, if there is one.
|
boolean |
hasAllModifiers(int mods)
Determine whether this item has all of the modifiers specified by the given bitwise-OR-joined argument.
|
boolean |
hasAnyModifier(int mods)
Determine whether this item has any of the modifiers specified by the given bitwise-OR-joined argument.
|
void |
write(SourceFileWriter writer) |
add, addItemDirectly, block, code, docRoot, getContent, inlineDocTag, inlineDocTag, linkConstructor, linkField, linkMethod, linkMethod, linkType, nl, sp, text, typeNamepublic void write(SourceFileWriter writer) throws java.io.IOException
write in interface Writablewrite in class AbstractJCommentjava.io.IOExceptionpublic JClassItem.Kind getItemKind()
JClassItemgetItemKind in interface JClassItempublic int getModifiers()
JClassItemgetModifiers in interface JClassItemJModpublic boolean hasAllModifiers(int mods)
JClassItemhasAllModifiers in interface JClassItemmods - the modifier(s)true if all of the modifiers are present, false otherwisepublic boolean hasAnyModifier(int mods)
JClassItemhasAnyModifier in interface JClassItemmods - the modifier(s)true if any if the modifiers are present, false otherwisepublic java.lang.String getName()
JClassItemgetName in interface JClassItemnull if there is none