public static class Java.PackageMemberInterfaceDeclaration extends Java.InterfaceDeclaration implements Java.PackageMemberTypeDeclaration
Java.PackageMemberAnnotationTypeDeclaration extends this class.
constantDeclarations, extendedTypes, nameanonymousClassCount, localClassCount| Constructor and Description |
|---|
PackageMemberInterfaceDeclaration(Location location,
String docComment,
Java.Modifier[] modifiers,
String name,
Java.TypeParameter[] typeParameters,
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. |
Access |
getAccess() |
Java.Annotation[] |
getAnnotations() |
String |
getClassName()
Determines the effective class name, e.g.
|
Java.CompilationUnit |
getDeclaringCompilationUnit() |
boolean |
isAbstract() |
boolean |
isStatic() |
boolean |
isStrictfp() |
void |
setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
Sets the
Java.AbstractCompilationUnit in which this top-level type is declared. |
addConstantDeclaration, getDocComment, getName, hasDeprecatedDocTag, toStringaddDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, 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, getMethodDeclarationsgetLocation, throwCompileExceptiongetEnclosingScopepublic PackageMemberInterfaceDeclaration(Location location, @Nullable String docComment, Java.Modifier[] modifiers, String name, @Nullable Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes)
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 Java.Annotation[] getAnnotations()
getAnnotations in interface Java.AnnotatablegetAnnotations in class Java.AbstractTypeDeclarationJava.TypeDeclaration, Java.FieldDeclaration, Java.MethodDeclarator
or Java.ConstructorDeclaratorpublic boolean isAbstract()
public boolean isStatic()
public boolean isStrictfp()
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 ThrowableCopyright © 2022. All rights reserved.