public abstract static class Java.AbstractPackageMemberClassDeclaration extends Java.NamedClassDeclaration implements Java.PackageMemberTypeDeclaration
implementedTypes, name, optionalExtendedTypeconstructors, variableDeclaratorsAndInitializersanonymousClassCount, localClassCount| Constructor and Description |
|---|
AbstractPackageMemberClassDeclaration(Location location,
String optionalDocComment,
Java.Modifiers modifiers,
String name,
Java.TypeParameter[] optionalTypeParameters,
Java.Type optionalExtendedType,
Java.Type[] implementedTypes) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Determines the effective class name, e.g.
|
Java.CompilationUnit |
getDeclaringCompilationUnit() |
void |
setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
Sets the
Java.CompilationUnit in which this top-level type is declared. |
getDocComment, getName, hasDeprecatedDocTag, toStringaddConstructor, addFieldDeclaration, addInitializer, defineSyntheticField, getSyntheticFields, getVariableDeclaratorsAndInitializersaddDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags, getOptionalTypeParameters, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getOptionalTypeParametersaccept, createAnonymousClassName, createLocalTypeName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlagsgetAnnotationsgetLocation, throwCompileExceptiongetEnclosingScopepublic AbstractPackageMemberClassDeclaration(Location location, @Nullable String optionalDocComment, Java.Modifiers modifiers, String name, @Nullable Java.TypeParameter[] optionalTypeParameters, @Nullable Java.Type optionalExtendedType, Java.Type[] implementedTypes) throws CompileException
CompileExceptionpublic void setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
Java.PackageMemberTypeDeclarationJava.CompilationUnit in which this top-level type is declared.setDeclaringCompilationUnit in interface Java.PackageMemberTypeDeclarationpublic Java.CompilationUnit getDeclaringCompilationUnit()
getDeclaringCompilationUnit in interface Java.PackageMemberTypeDeclarationJava.CompilationUnit in which this top-level type is declared.public String getClassName()
Java.TypeDeclarationgetClassName in interface Java.TypeDeclaration