|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Java.TypeDeclaration
Base for the various kinds of type declarations, e.g. top-level class, member interface, local class.
Method Summary | |
---|---|
void |
accept(Visitor.TypeDeclarationVisitor visitor)
Invokes the ' visit...() ' method of Visitor.TypeDeclarationVisitor for the concrete Java.TypeDeclaration type. |
|
createAnonymousClassName()
Creates a unique name for an anonymous class. |
|
createLocalTypeName( localTypeName)
Creates a unique name for a local class or interface. |
Java.Annotation[] |
getAnnotations()
|
|
getClassName()
Determines the effective class name, e.g. |
Java.MemberTypeDeclaration |
getMemberTypeDeclaration( name)
Return the member type with the given name. |
<Java.MemberTypeDeclaration> |
getMemberTypeDeclarations()
|
Java.MethodDeclarator |
getMethodDeclaration( name)
Return the first method declared with the given name. |
<Java.MethodDeclarator> |
getMethodDeclarations()
|
short |
getModifierFlags()
|
Methods inherited from interface org.codehaus.janino.Java.Locatable |
---|
getLocation, throwCompileException |
Methods inherited from interface org.codehaus.janino.Java.Scope |
---|
getEnclosingScope |
Method Detail |
---|
short getModifierFlags()
Mod
Java.Annotation[] getAnnotations()
Java.TypeDeclaration
Java.MemberTypeDeclaration getMemberTypeDeclaration( name)
null
if a member type with that name is not declared<Java.MemberTypeDeclaration> getMemberTypeDeclarations()
Java.TypeDeclaration
Java.MethodDeclarator getMethodDeclaration( name)
null
if a method with this name is not declared<Java.MethodDeclarator> getMethodDeclarations()
Java.TypeDeclaration
, not including methods declared in
supertypesgetClassName()
createLocalTypeName( localTypeName)
createAnonymousClassName()
void accept(Visitor.TypeDeclarationVisitor visitor)
visit...()
' method of Visitor.TypeDeclarationVisitor
for the concrete Java.TypeDeclaration
type.
|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |