public static interface Java.TypeDeclaration extends Java.Locatable, Java.Scope
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.TypeDeclarationVisitor visitor) |
java.lang.String |
createAnonymousClassName()
Creates a unique name for an anonymous class.
|
java.lang.String |
createLocalTypeName(java.lang.String localTypeName)
Creates a unique name for a local class or interface.
|
java.lang.String |
getClassName()
Determine the effective class name, e.g.
|
Java.MemberTypeDeclaration |
getMemberTypeDeclaration(java.lang.String name)
Return the member type with the given name.
|
java.util.Collection |
getMemberTypeDeclarations() |
Java.MethodDeclarator |
getMethodDeclaration(java.lang.String name)
Return the first method declared with the given name.
|
java.util.List |
getMethodDeclarations() |
Java.ModifiersAndAnnotations |
getModifiersAndAnnotations() |
getLocation, throwCompileException
getEnclosingScope
Java.ModifiersAndAnnotations getModifiersAndAnnotations()
Java.MemberTypeDeclaration getMemberTypeDeclaration(java.lang.String name)
null
if a member type with that name is not declaredjava.util.Collection getMemberTypeDeclarations()
Java.MethodDeclarator getMethodDeclaration(java.lang.String name)
null
if a method with this name is not declaredjava.util.List getMethodDeclarations()
java.lang.String getClassName()
java.lang.String createLocalTypeName(java.lang.String localTypeName)
java.lang.String createAnonymousClassName()
void accept(Visitor.TypeDeclarationVisitor visitor)