Package org.codehaus.janino
Class Java.EnclosingScopeOfTypeDeclaration
- java.lang.Object
-
- org.codehaus.janino.Java.EnclosingScopeOfTypeDeclaration
-
- All Implemented Interfaces:
Java.Scope
- Enclosing class:
- Java
public static final class Java.EnclosingScopeOfTypeDeclaration extends java.lang.Object implements Java.Scope
Lazily determines and returns the enclosingJava.Scope
of the givenJava.TypeDeclaration
.
-
-
Field Summary
Fields Modifier and Type Field Description Java.TypeDeclaration
typeDeclaration
The specific type declaration.
-
Constructor Summary
Constructors Constructor Description EnclosingScopeOfTypeDeclaration(Java.TypeDeclaration typeDeclaration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Java.Scope
getEnclosingScope()
-
-
-
Field Detail
-
typeDeclaration
public final Java.TypeDeclaration typeDeclaration
The specific type declaration.
-
-
Constructor Detail
-
EnclosingScopeOfTypeDeclaration
public EnclosingScopeOfTypeDeclaration(Java.TypeDeclaration typeDeclaration)
-
-
Method Detail
-
getEnclosingScope
public Java.Scope getEnclosingScope()
- Specified by:
getEnclosingScope
in interfaceJava.Scope
- Returns:
- The scope that encloses this scope, or
null
-
-