public static class Java.PackageMemberInterfaceDeclaration extends Java.InterfaceDeclaration implements Java.PackageMemberTypeDeclaration, Java.AnnotationTypeDeclaration
constantDeclarations, extendedTypes, nameanonymousClassCount, 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 |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.TypeDeclarationVisitor<R,EX> 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, hasDeprecatedDocTag, toStringaddDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags, getOptionalTypeParameters, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getOptionalTypeParameterscreateAnonymousClassName, createLocalTypeName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlagsgetAnnotationsgetLocation, throwCompileExceptiongetEnclosingScopegetDocComment, hasDeprecatedDocTagpublic PackageMemberInterfaceDeclaration(Location location, @Nullable String optionalDocComment, Java.Modifiers modifiers, String name, @Nullable 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.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 Throwable