public static interface Java.TypeDeclaration extends Java.Locatable, Java.Scope
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.TypeDeclarationVisitor visitor) |
String |
createAnonymousClassName()
Creates a unique name for an anonymous class.
|
String |
createLocalTypeName(String localTypeName)
Creates a unique name for a local class or interface.
|
String |
getClassName()
Determine the effective class name, e.g.
|
Java.MemberTypeDeclaration |
getMemberTypeDeclaration(String name)
Return the member type with the given name.
|
Collection |
getMemberTypeDeclarations() |
Java.MethodDeclarator |
getMethodDeclaration(String name)
Return the first method declared with the given name.
|
List |
getMethodDeclarations() |
short |
getModifiers() |
getLocation, throwCompileException
getEnclosingScope
short getModifiers()
Java.MemberTypeDeclaration getMemberTypeDeclaration(String name)
null
if a member type with that name is not declaredCollection getMemberTypeDeclarations()
Java.MethodDeclarator getMethodDeclaration(String name)
null
if a method with this name is not declaredList getMethodDeclarations()
String getClassName()
String createLocalTypeName(String localTypeName)
String createAnonymousClassName()
void accept(Visitor.TypeDeclarationVisitor visitor)
Copyright © 2001–2013. All rights reserved.