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, variableDeclaratorsAndInitializersanonymousClassCount, 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, getConstructorsaddDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefineSyntheticFieldcreateAnonymousClassName, createLocalTypeName, getAnnotations, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlagsgetLocation, throwCompileExceptiongetEnclosingScopepublic final Java.Type baseType
private java.lang.String myName
public void accept(Visitor.TypeDeclarationVisitor visitor)
Java.TypeDeclarationvisit...()' method of Visitor.TypeDeclarationVisitor for the concrete Java.TypeDeclaration type.accept in interface Java.TypeDeclarationpublic java.lang.String getClassName()
Java.TypeDeclarationgetClassName in interface Java.TypeDeclarationpublic java.lang.String toString()
toString in class Java.AbstractTypeDeclaration