public static class Java.MemberInterfaceDeclaration extends Java.InterfaceDeclaration implements Java.MemberTypeDeclaration, Java.AnnotationTypeDeclaration
constantDeclarations, extendedTypes, nameanonymousClassCount, localClassCount| Constructor and Description |
|---|
MemberInterfaceDeclaration(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.TypeBodyDeclarationVisitor<R,EX> visitor)
Invokes the '
visit...()' method of Visitor.TypeBodyDeclarationVisitor for the concrete
Java.TypeBodyDeclaration type. |
<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.TypeDeclaration |
getDeclaringType() |
boolean |
isStatic() |
void |
setDeclaringType(Java.TypeDeclaration declaringType)
Sets the type declaration that this declaration belongs to.
|
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, getModifierFlagsgetAnnotationsgetDocComment, hasDeprecatedDocTagpublic MemberInterfaceDeclaration(Location location, @Nullable String optionalDocComment, Java.Modifiers modifiers, String name, @Nullable Java.TypeParameter[] optionalTypeParameters, Java.Type[] extendedTypes)
public String getClassName()
Java.TypeDeclarationgetClassName in interface Java.TypeDeclarationpublic void setDeclaringType(Java.TypeDeclaration declaringType)
Java.TypeBodyDeclarationsetDeclaringType in interface Java.TypeBodyDeclarationpublic Java.TypeDeclaration getDeclaringType()
getDeclaringType in interface Java.TypeBodyDeclarationpublic boolean isStatic()
isStatic in interface Java.TypeBodyDeclaration@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@Nullable public <R,EX extends Throwable> R accept(Visitor.TypeBodyDeclarationVisitor<R,EX> visitor) throws EX extends Throwable
Java.TypeBodyDeclarationvisit...()' method of Visitor.TypeBodyDeclarationVisitor for the concrete
Java.TypeBodyDeclaration type.accept in interface Java.TypeBodyDeclarationEX extends Throwable