public static class Java.PackageMemberClassDeclaration extends Java.NamedClassDeclaration implements Java.PackageMemberTypeDeclaration
extendedType, implementedTypes, nameconstructors, fieldDeclarationsAndInitializersanonymousClassCount, localClassCount| Constructor and Description |
|---|
PackageMemberClassDeclaration(Location location,
String docComment,
Java.Modifier[] modifiers,
String name,
Java.TypeParameter[] typeParameters,
Java.Type extendedType,
Java.Type[] implementedTypes) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.TypeDeclarationVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.TypeDeclarationVisitor for the concrete Java.TypeDeclaration type. |
Access |
getAccess() |
String |
getClassName()
Determines the effective class name, e.g.
|
Java.CompilationUnit |
getDeclaringCompilationUnit() |
boolean |
isStatic() |
void |
setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
Sets the
Java.AbstractCompilationUnit in which this top-level type is declared. |
getDocComment, getName, hasDeprecatedDocTag, isAbstract, isFinal, isStrictfp, toStringaddConstructor, addFieldDeclaration, addFieldDeclarationOrInitializer, addInitializer, defineSyntheticField, getSyntheticFields, getVariableDeclaratorsAndInitializersaddDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiers, getOptionalTypeParameters, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getOptionalTypeParameterscreateAnonymousClassName, createLocalTypeName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarationsgetAnnotationsgetLocation, throwCompileExceptiongetEnclosingScopepublic PackageMemberClassDeclaration(Location location, @Nullable String docComment, Java.Modifier[] modifiers, String name, @Nullable Java.TypeParameter[] typeParameters, @Nullable Java.Type extendedType, Java.Type[] implementedTypes)
public void setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
Java.PackageMemberTypeDeclarationJava.AbstractCompilationUnit in which this top-level type is declared.setDeclaringCompilationUnit in interface Java.PackageMemberTypeDeclarationpublic Java.CompilationUnit getDeclaringCompilationUnit()
getDeclaringCompilationUnit in interface Java.PackageMemberTypeDeclarationJava.AbstractCompilationUnit in which this top-level type is declared.public Access getAccess()
getAccess in interface Java.PackageMemberTypeDeclarationpublic String getClassName()
Java.TypeDeclarationgetClassName in interface Java.TypeDeclaration@Nullable public <R,EX extends Throwable> R accept(Visitor.TypeDeclarationVisitor<R,EX> visitor) throws EX extends Throwable
Java.TypeDeclarationvisit...()" method of Visitor.TypeDeclarationVisitor for the concrete Java.TypeDeclaration type.accept in interface Java.TypeDeclarationEX extends Throwablepublic boolean isStatic()
Copyright © 2022. All rights reserved.