public static final class Java.PackageMemberClassDeclaration extends Java.NamedClassDeclaration implements Java.PackageMemberTypeDeclaration
implementedTypes, name, optionalExtendedType
constructors, variableDeclaratorsAndInitializers
anonymousClassCount, localClassCount
Constructor and Description |
---|
Java.PackageMemberClassDeclaration(Location location,
String optionalDocComment,
short modifiers,
String name,
Java.Type optionalExtendedType,
Java.Type[] implementedTypes) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.TypeDeclarationVisitor visitor) |
String |
getClassName()
Determine the effective class name, e.g.
|
Java.CompilationUnit |
getDeclaringCompilationUnit() |
protected IClass |
getOuterIClass2() |
void |
setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit) |
getDocComment, getName, hasDeprecatedDocTag, toString
addConstructor, addVariableDeclaratorOrInitializer, defineSyntheticField
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiers, invalidateMethodCaches, setEnclosingScope, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
createAnonymousClassName, createLocalTypeName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiers
getLocation, throwCompileException
getEnclosingScope
public Java.PackageMemberClassDeclaration(Location location, String optionalDocComment, short modifiers, String name, Java.Type optionalExtendedType, Java.Type[] implementedTypes) throws CompileException
CompileException
public void setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
setDeclaringCompilationUnit
in interface Java.PackageMemberTypeDeclaration
public Java.CompilationUnit getDeclaringCompilationUnit()
getDeclaringCompilationUnit
in interface Java.PackageMemberTypeDeclaration
protected IClass getOuterIClass2()
public String getClassName()
Java.TypeDeclaration
getClassName
in interface Java.TypeDeclaration
public void accept(Visitor.TypeDeclarationVisitor visitor)
accept
in interface Java.TypeDeclaration
Copyright © 2001-2014. All Rights Reserved.