Java.DocCommentable
, Java.Locatable
, Java.NamedTypeDeclaration
, Java.PackageMemberTypeDeclaration
, Java.Scope
, Java.TypeDeclaration
public static final class Java.PackageMemberInterfaceDeclaration extends Java.InterfaceDeclaration implements Java.PackageMemberTypeDeclaration
anonymousClassCount, localClassCount
constantDeclarations, extendedTypes, name, optionalTypeParameters
Constructor | Description |
---|---|
PackageMemberInterfaceDeclaration(Location location,
String optionalDocComment,
Java.Modifiers modifiers,
String name,
Java.TypeParameter[] optionalTypeParameters,
Java.Type[] extendedTypes) |
Modifier and Type | Method | 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. |
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getAnnotations, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags, invalidateMethodCaches, setEnclosingScope, throwCompileException
addConstantDeclaration, getDocComment, getName, getOptionalTypeParameters, hasDeprecatedDocTag, toString
getLocation, throwCompileException
getName, getOptionalTypeParameters
getEnclosingScope
createAnonymousClassName, createLocalTypeName, getAnnotations, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags
public PackageMemberInterfaceDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type[] extendedTypes) throws CompileException
CompileException
public void setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
Java.PackageMemberTypeDeclaration
Java.CompilationUnit
in which this top-level type is declared.setDeclaringCompilationUnit
in interface Java.PackageMemberTypeDeclaration
public Java.CompilationUnit getDeclaringCompilationUnit()
getDeclaringCompilationUnit
in interface Java.PackageMemberTypeDeclaration
Java.CompilationUnit
in which this top-level type is declared.public String getClassName()
Java.TypeDeclaration
getClassName
in interface Java.TypeDeclaration
public void accept(Visitor.TypeDeclarationVisitor visitor)
Java.TypeDeclaration
visit...()
' method of Visitor.TypeDeclarationVisitor
for the concrete Java.TypeDeclaration
type.accept
in interface Java.TypeDeclaration
Copyright © 2001–2019. All rights reserved.