janino.net

org.codehaus.janino
Interface Java.NamedTypeDeclaration

All Superinterfaces:
Java.Locatable, Java.Scope, Java.TypeDeclaration
All Known Subinterfaces:
Java.MemberTypeDeclaration, Java.PackageMemberTypeDeclaration
All Known Implementing Classes:
Java.InterfaceDeclaration, Java.LocalClassDeclaration, Java.MemberClassDeclaration, Java.MemberInterfaceDeclaration, Java.NamedClassDeclaration, Java.PackageMemberClassDeclaration, Java.PackageMemberInterfaceDeclaration
Enclosing class:
Java

public static interface Java.NamedTypeDeclaration
extends Java.TypeDeclaration

Represents the declaration of a class or an interface that has a name. (All type declarations are named, except for anonymous classes.)


Method Summary
 java.lang.String getName()
          Returns the declared (not the fully qualified) name of the class or interface.
 
Methods inherited from interface org.codehaus.janino.Java.TypeDeclaration
accept, createAnonymousClassName, createLocalTypeName, getClassName, getMemberTypeDeclaration
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwParseException
 
Methods inherited from interface org.codehaus.janino.Java.Scope
getEnclosingScope
 

Method Detail

getName

java.lang.String getName()
Returns the declared (not the fully qualified) name of the class or interface.


janino.net