public static final class Java.PackageMemberInterfaceDeclaration extends Java.InterfaceDeclaration implements Java.PackageMemberTypeDeclaration
constantDeclarations, extendedTypes, name, optionalTypeParametersanonymousClassCount, localClassCount| Constructor and Description |
|---|
PackageMemberInterfaceDeclaration(Location location,
String optionalDocComment,
Java.Modifiers modifiers,
String name,
Java.TypeParameter[] optionalTypeParameters,
Java.Type[] extendedTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor.TypeDeclarationVisitor visitor)
Invokes the '
visit...()' method of Visitor.TypeDeclarationVisitor for the concrete Java.TypeDeclaration type. |
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. |
addConstantDeclaration, getDocComment, getName, getOptionalTypeParameters, hasDeprecatedDocTag, toStringaddDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getOptionalTypeParameterscreateAnonymousClassName, createLocalTypeName, getAnnotations, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlagsgetLocation, throwCompileExceptiongetEnclosingScopepublic PackageMemberInterfaceDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type[] extendedTypes) 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.TypeDeclarationpublic void accept(Visitor.TypeDeclarationVisitor visitor)
Java.TypeDeclarationvisit...()' method of Visitor.TypeDeclarationVisitor for the concrete Java.TypeDeclaration type.accept in interface Java.TypeDeclarationCopyright © 2001–2025. All rights reserved.