public static final class Java.PackageMemberInterfaceDeclaration extends Java.InterfaceDeclaration implements Java.PackageMemberTypeDeclaration
constantDeclarations, extendedTypes, name
anonymousClassCount, localClassCount
Constructor and Description |
---|
Java.PackageMemberInterfaceDeclaration(Location location,
String optionalDocComment,
short modifiers,
String name,
Java.Type[] extendedTypes) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.TypeDeclarationVisitor visitor) |
String |
getClassName()
Determine the effective class name, e.g.
|
Java.CompilationUnit |
getDeclaringCompilationUnit() |
void |
setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit) |
addConstantDeclaration, getDocComment, getName, hasDeprecatedDocTag, toString
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiers, invalidateMethodCaches, setEnclosingScope, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
createAnonymousClassName, createLocalTypeName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiers
getLocation, throwCompileException
getEnclosingScope
public Java.PackageMemberInterfaceDeclaration(Location location, String optionalDocComment, short modifiers, String name, Java.Type[] extendedTypes) throws CompileException
CompileException
public void setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
setDeclaringCompilationUnit
in interface Java.PackageMemberTypeDeclaration
public Java.CompilationUnit getDeclaringCompilationUnit()
getDeclaringCompilationUnit
in interface Java.PackageMemberTypeDeclaration
public String getClassName()
Java.TypeDeclaration
getClassName
in interface Java.TypeDeclaration
public void accept(Visitor.TypeDeclarationVisitor visitor)
accept
in interface Java.TypeDeclaration
Copyright © 2001–2013. All rights reserved.