class PlainJClassDef extends AbstractJClassDef implements BlockContent, JClassItem
JClassItem.Kind
SMART_NAME_SORT
Constructor and Description |
---|
PlainJClassDef(int mods,
AbstractJClassDef enclosingClass,
java.lang.String name) |
PlainJClassDef(int mods,
ImplJSourceFile classFile,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
(package private) Tokens.$KW |
designation() |
JClassItem.Kind |
getItemKind()
Get the kind of item.
|
java.lang.String |
getName()
Get the name of this element, if there is one.
|
_class, _class, _enum, _enum, _enum, _extends, _extends, _extends, _implements, _implements, _implements, _interface, _interface, add, add, annotationInterface, annotationInterface, blankLine, constructor, constructor, erasedType, field, field, field, field, field, field, field, genericType, getClassFile, getContent, getEnclosingClass, getExtends, getImplements, getMemberIndentation, getModifiers, getMods, hasAllModifiers, hasAnyModifier, hasInterfaceStyleExtends, init, init, method, method, method, method, methodCanHaveBody, section, staticInit, staticInit, supportsCompactInitOnly, typeParam, write, writeClassHeader, writeContent, writeContentBlock
typeParams, typeParamsToArgs, writeTypeParams
annotate, annotate, annotate, writeAnnotations
deprecated, docComment, writeDocComments
blockComment, lineComment, writeComments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModifiers, hasAllModifiers, hasAnyModifier
annotate, annotate, annotate
deprecated, docComment
typeParams
blockComment, lineComment
PlainJClassDef(int mods, ImplJSourceFile classFile, java.lang.String name)
PlainJClassDef(int mods, AbstractJClassDef enclosingClass, java.lang.String name)
Tokens.$KW designation()
designation
in class AbstractJClassDef
public JClassItem.Kind getItemKind()
JClassItem
getItemKind
in interface JClassItem
public java.lang.String getName()
JClassItem
getName
in interface JClassItem
getName
in class AbstractJClassDef
null
if there is none