public static final class Java.LocalClassDeclaration extends Java.NamedClassDeclaration implements Java.InnerClassDeclaration
implementedTypes, name, optionalExtendedType, optionalTypeParameters
constructors, syntheticFields, variableDeclaratorsAndInitializers
anonymousClassCount, localClassCount, resolvedType
Constructor and Description |
---|
LocalClassDeclaration(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 |
---|---|
void |
accept(Visitor.TypeDeclarationVisitor visitor)
Invokes the '
visit...() ' method of Visitor.TypeDeclarationVisitor for the concrete Java.TypeDeclaration type. |
java.lang.String |
getClassName()
Determines the effective class name, e.g.
|
getDocComment, getName, getOptionalTypeParameters, hasDeprecatedDocTag, toString
addConstructor, addFieldDeclaration, addInitializer, defineSyntheticField, getConstructors
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags, invalidateMethodCaches, setEnclosingScope, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
defineSyntheticField
createAnonymousClassName, createLocalTypeName, getAnnotations, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags
getLocation, throwCompileException
getEnclosingScope
public LocalClassDeclaration(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 getClassName()
Java.TypeDeclaration
getClassName
in interface Java.TypeDeclaration
public void accept(Visitor.TypeDeclarationVisitor visitor)
Java.TypeDeclaration
visit...()
' method of Visitor.TypeDeclarationVisitor
for the concrete Java.TypeDeclaration
type.accept
in interface Java.TypeDeclaration