Package 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
Represents the declaration of a class or an interface that has a name. (All type
declarations are named, except for anonymous classes.)
-
Method Summary
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileExceptionMethods inherited from interface org.codehaus.janino.Java.Scope
getEnclosingScopeMethods inherited from interface org.codehaus.janino.Java.TypeDeclaration
accept, createAnonymousClassName, createLocalTypeName, getClassName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiersAndAnnotations
-
Method Details
-
getName
String getName()Returns the declared (not the fully qualified) name of the class or interface.
-