janino.net

org.codehaus.janino
Interface Java.PackageMemberTypeDeclaration

All Superinterfaces:
Java.Locatable, Java.NamedTypeDeclaration, Java.Scope, Java.TypeDeclaration
All Known Implementing Classes:
Java.PackageMemberClassDeclaration, Java.PackageMemberInterfaceDeclaration
Enclosing class:
Java

public static interface Java.PackageMemberTypeDeclaration
extends Java.NamedTypeDeclaration

Represents a class or interface declaration on compilation unit level. These are called "package member types" because they are immediate members of a package.


Method Summary
 Java.CompilationUnit getDeclaringCompilationUnit()
           
 void setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
          Sets the Java.CompilationUnit in which this top-level type is declared.
 
Methods inherited from interface org.codehaus.janino.Java.NamedTypeDeclaration
getName, getOptionalTypeParameters
 
Methods inherited from interface org.codehaus.janino.Java.TypeDeclaration
accept, createAnonymousClassName, createLocalTypeName, getAnnotations, getClassName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
 
Methods inherited from interface org.codehaus.janino.Java.Scope
getEnclosingScope
 

Method Detail

setDeclaringCompilationUnit

void setDeclaringCompilationUnit(Java.CompilationUnit declaringCompilationUnit)
Sets the Java.CompilationUnit in which this top-level type is declared.


getDeclaringCompilationUnit

Java.CompilationUnit getDeclaringCompilationUnit()
Returns:
The Java.CompilationUnit in which this top-level type is declared.

janino.net