public static final class Java.AnonymousClassDeclaration extends Java.ClassDeclaration implements Java.InnerClassDeclaration
Modifier and Type | Field and Description |
---|---|
Java.Type |
baseType
Base class or interface.
|
private java.lang.String |
myName |
constructors, syntheticFields, variableDeclaratorsAndInitializers
anonymousClassCount, localClassCount, resolvedType
Constructor and Description |
---|
AnonymousClassDeclaration(Location location,
Java.Type baseType) |
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.
|
java.lang.String |
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 final Java.Type baseType
private java.lang.String myName
public void accept(Visitor.TypeDeclarationVisitor visitor)
Java.TypeDeclaration
visit...()
' method of Visitor.TypeDeclarationVisitor
for the concrete Java.TypeDeclaration
type.accept
in interface Java.TypeDeclaration
public java.lang.String getClassName()
Java.TypeDeclaration
getClassName
in interface Java.TypeDeclaration
public java.lang.String toString()
toString
in class Java.AbstractTypeDeclaration