public abstract static class Java.NamedClassDeclaration extends Java.ClassDeclaration implements Java.NamedTypeDeclaration, Java.DocCommentable
| Modifier and Type | Field and Description |
|---|---|
Java.Type[] |
implementedTypes
The types of the implemented interfaces.
|
java.lang.String |
name
The simple name of this class.
|
private java.lang.String |
optionalDocComment |
Java.Type |
optionalExtendedType
The type of the extended class.
|
Java.TypeParameter[] |
optionalTypeParameters
The optional type parameters of this interface.
|
constructors, syntheticFields, variableDeclaratorsAndInitializersanonymousClassCount, localClassCount, resolvedType| Constructor and Description |
|---|
NamedClassDeclaration(Location location,
java.lang.String optionalDocComment,
Java.Modifiers modifiers,
java.lang.String name,
Java.TypeParameter[] optionalTypeParameters,
Java.Type optionalExtendedType,
Java.Type[] implementedTypes) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocComment() |
java.lang.String |
getName() |
Java.TypeParameter[] |
getOptionalTypeParameters() |
boolean |
hasDeprecatedDocTag()
Returns
true if the object has a doc comment and
the @deprecated tag appears in the doc
comment. |
java.lang.String |
toString() |
addConstructor, addFieldDeclaration, addInitializer, defineSyntheticField, getConstructorsaddDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, createAnonymousClassName, createLocalTypeName, getAnnotations, getClassName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlagsgetLocation, throwCompileExceptiongetEnclosingScopeprivate final java.lang.String optionalDocComment
public final java.lang.String name
public final Java.TypeParameter[] optionalTypeParameters
public final Java.Type optionalExtendedType
public final Java.Type[] implementedTypes
public NamedClassDeclaration(Location location, java.lang.String optionalDocComment, Java.Modifiers modifiers, java.lang.String name, Java.TypeParameter[] optionalTypeParameters, Java.Type optionalExtendedType, Java.Type[] implementedTypes)
public java.lang.String toString()
toString in class Java.AbstractTypeDeclarationpublic java.lang.String getName()
getName in interface Java.NamedTypeDeclarationpublic Java.TypeParameter[] getOptionalTypeParameters()
getOptionalTypeParameters in interface Java.NamedTypeDeclarationpublic java.lang.String getDocComment()
getDocComment in interface Java.DocCommentablenullpublic boolean hasDeprecatedDocTag()
Java.DocCommentabletrue if the object has a doc comment and
the @deprecated tag appears in the doc
comment.hasDeprecatedDocTag in interface Java.DocCommentable