# Uses of Interface
org.codehaus.janino.Java.Scope

Packages that use Java.Scope
Package
Description
org.codehaus.janino
The core of the Janino Java compiler.

## Uses of Java.Scope in org.codehaus.janino

Subinterfaces of Java.Scope in org.codehaus.janino
Modifier and Type
Interface
Description
`static interface`
`Java.AnnotationTypeDeclaration`
Base for package member ("top-level") and member ("nested") annotation type declarations.
`static interface`
`Java.BlockStatement`
Everything that can be compiled to code, e.g.
`static interface`
`Java.ClassDeclaration`
Base for the various class declarations (top-level class, local class, anonymous class, nested class, top-level enum, nested enum).
`static interface`
`Java.EnumDeclaration`
Base for package member (a.k.a.
`static interface`
`Java.FieldDeclarationOrInitializer`
`static interface`
`Java.MemberTypeDeclaration`
Represents a class or interface declaration where the immediately enclosing scope is another class or interface declaration.
`static interface`
`Java.NamedTypeDeclaration`
Represents the declaration of a class or an interface that has a name.
`static interface`
`Java.PackageMemberTypeDeclaration`
Represents a class or interface declaration on compilation unit level.
`static interface`
`Java.TypeBodyDeclaration`
Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".
`static interface`
`Java.TypeDeclaration`
Base for the various kinds of type declarations, e.g.
Classes in org.codehaus.janino that implement Java.Scope
Modifier and Type
Class
Description
`static class`
`Java.AbstractClassDeclaration`
Base for the various class declaration kinds.
`static class`
`Java.AbstractCompilationUnit`
Holds the result of `Parser.parseAbstractCompilationUnit()`.
`static class`
`Java.AbstractTypeBodyDeclaration`
Abstract implementation of `Java.TypeBodyDeclaration`.
`static class`
`Java.AbstractTypeDeclaration`
Abstract implementation of `Java.TypeDeclaration`.
`static final class`
`Java.AlternateConstructorInvocation`
Representation of a JLS7 8.8.7.1.
`static final class`
`Java.AnonymousClassDeclaration`
Representation of a JLS7 15.9.5 "anonymous class declaration".
`static final class`
`Java.AssertStatement`
Representation of the JLS7 14.10 ASSERT statement.
`static final class`
`Java.Block`
Representation of a Java "block" (JLS7 14.2).
`static class`
`Java.BreakableStatement`
Base class for statements that can be terminated abnormally with a `break` statement.
`static final class`
`Java.BreakStatement`
Representation of the JLS7 14.15 BREAK statement.
`static class`
`Java.CatchClause`
Representation of a JLS7 14.20.1 CATCH clause.
`static final class`
`Java.CompilationUnit`
Representation of an "ordinary compilation unit" as explained in JLS9 7.3 (before Java 9 known as "compilation unit" and described in JLS8 7.3).
`static final class`
`Java.ConstructorDeclarator`
Representation of a constructor declarator.
`static class`
`Java.ConstructorInvocation`
Abstract bas class for `Java.SuperConstructorInvocation` and `Java.AlternateConstructorInvocation`.
`static class`
`Java.ContinuableStatement`
Base class for statements that support the "continue" statement.
`static final class`
`Java.ContinueStatement`
Representation of the JLS7 14.16 CONTINUE statement.
`static final class`
`Java.DoStatement`
Representation of a JLS7 14.13 DO statement.
`static final class`
`Java.EmptyStatement`
Representation of the "empty statement", i.e.
`static final class`
`Java.EnclosingScopeOfTypeDeclaration`
Lazily determines and returns the enclosing `Java.Scope` of the given `Java.TypeDeclaration`.
`static final class`
`Java.EnumConstant`
Representation of an "enum constant", see JLS7 8.9.1.
`static final class`
`Java.ExpressionStatement`
Representation of the JLS7 14.8 "expression statement".
`static final class`
`Java.FieldDeclaration`
This class is derived from "Statement", because it provides for the initialization of the field.
`static final class`
`Java.ForEachStatement`
Representation of a JLS7 14.14.2 "enhanced FOR statement".
`static final class`
`Java.ForStatement`
Representation of a JLS7 14.14.1 "basic FOR statement".
`static class`
`Java.FunctionDeclarator`
Abstract base class for `Java.ConstructorDeclarator` and `Java.MethodDeclarator`.
`static final class`
`Java.IfStatement`
Representation of a JLS7 14.9 IF statement.
`static final class`
`Java.Initializer`
Representation of an "instance initializer" (JLS7 8.6) or "static initializer" (JLS7 8.7).
`static class`
`Java.InterfaceDeclaration`
Base for the various interface declaration kinds.
`static final class`
`Java.LabeledStatement`
Representation of a JLS7 14.7 "labeled statement".
`static final class`
`Java.LocalClassDeclaration`
Representation of a "local class declaration" i.e.
`static final class`
`Java.LocalClassDeclarationStatement`
Representation of the JLS7 14.3 "local class declaration statement".
`static final class`
`Java.LocalVariableDeclarationStatement`
Representation of a JLS7 14.4 "local variable declaration statement".
`static final class`
`Java.MemberAnnotationTypeDeclaration`
Representation of a member annotation type declaration, a.k.a.
`static class`
`Java.MemberClassDeclaration`
Representation of a "member class declaration", i.e.
`static final class`
`Java.MemberEnumDeclaration`
Representation of a "member enum declaration", i.e.
`static class`
`Java.MemberInterfaceDeclaration`
Representation of a "member interface declaration", i.e.
`static final class`
`Java.MethodDeclarator`
Representation of a method declarator.
`static final class`
`Java.ModularCompilationUnit`
Represents a `ModularCompilationUnit` as specified in JLS11 7.3.
`static class`
`Java.NamedClassDeclaration`
Base for the various named class declarations.
`static final class`
`Java.PackageMemberAnnotationTypeDeclaration`
Representation of a package member annotation type declaration, a.k.a.
`static class`
`Java.PackageMemberClassDeclaration`
Implementation of a "package member class declaration", a.k.a.
`static final class`
`Java.PackageMemberEnumDeclaration`
Implementation of a "package member enum declaration", a.k.a.
`static class`
`Java.PackageMemberInterfaceDeclaration`
Representation of a "package member interface declaration", a.k.a.
`static final class`
`Java.ReturnStatement`
Representation of the JLS7 14.17 RETURN statement.
`static class`
`Java.Statement`
Everything that can occur in the body of a method or in a block.
`static final class`
`Java.SuperConstructorInvocation`
Representation of a JLS7 8.8.7.1.
`static final class`
`Java.SwitchStatement`
The JLS7 14.10 `switch` Statement.
`static final class`
`Java.SynchronizedStatement`
Representation of a JLS7 14.9 SYNCHRONIZED statement.
`static final class`
`Java.ThrowStatement`
Representation of a JLS7 14.18 THROW statement.
`static final class`
`Java.TryStatement`
Representation of a JLS7 14.20 TRY statement.
`static final class`
`Java.WhileStatement`
Representation of the JLS7 14.2 WHILE statement.
Methods in org.codehaus.janino that return Java.Scope
Modifier and Type
Method
Description
`Java.Scope`
Java.AbstractCompilationUnit.`getEnclosingScope()`
`Java.Scope`
Java.AbstractTypeBodyDeclaration.`getEnclosingScope()`
`Java.Scope`
Java.AbstractTypeDeclaration.`getEnclosingScope()`
`Java.Scope`
Java.BlockStatement.`getEnclosingScope()`
`Java.Scope`
Java.CatchClause.`getEnclosingScope()`
`Java.Scope`
Java.ConstructorInvocation.`getEnclosingScope()`
`Java.Scope`
Java.EnclosingScopeOfTypeDeclaration.`getEnclosingScope()`
`Java.Scope`
Java.FunctionDeclarator.`getEnclosingScope()`
`Java.Scope`
Java.Rvalue.`getEnclosingScope()`
`Java.Scope`
Java.Scope.`getEnclosingScope()`
`Java.Scope`
Java.SimpleType.`getEnclosingScope()`
`Java.Scope`
Java.Statement.`getEnclosingScope()`
`Java.Scope`
Java.Type.`getEnclosingScope()`
`Java.Scope`
Java.Rvalue.`getEnclosingScopeOrNull()`
Methods in org.codehaus.janino with parameters of type Java.Scope
Modifier and Type
Method
Description
`IClass.IInvocable`
UnitCompiler.`findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, IClass[] argumentTypes, boolean boxingPermitted, Java.Scope contextScope)`
Determines the applicable invocables and choose the most specific invocable.
`void`
Java.AbstractAnnotation.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.AbstractTypeBodyDeclaration.`setEnclosingScope(Java.Scope enclosingScope)`
Forward-implements `Java.BlockStatement.setEnclosingScope(Java.Scope)`.
`void`
Java.AbstractTypeDeclaration.`setEnclosingScope(Java.Scope enclosingScope)`
Sets the enclosing scope of this `Java.TypeDeclaration`.
`void`
Java.Annotation.`setEnclosingScope(Java.Scope enclosingScope)`
Sets the enclosing scope for this annotation.
`void`
Java.ArrayInitializer.`setEnclosingScope(Java.Scope s)`
`void`
Java.ArrayInitializerOrRvalue.`setEnclosingScope(Java.Scope s)`
Sets the immediately enclosing scope for this array initializer or rvalue.
`void`
Java.ArrayType.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.BlockStatement.`setEnclosingScope(Java.Scope enclosingScope)`
Sets the enclosing scope of this `Java.BlockStatement`.
`void`
Java.CatchParameter.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.ConstructorInvocation.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.ElementValue.`setEnclosingScope(Java.Scope scope)`
In most cases, the scope is the enclosing `Java.BlockStatement`, except for top-level class/interface annotation class-literal element-value-pairs, where the enclosing scope is the compilation unit.
`void`
Java.ElementValueArrayInitializer.`setEnclosingScope(Java.Scope scope)`
`void`
Java.FieldDeclaration.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.FunctionDeclarator.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.MethodDeclarator.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.NormalAnnotation.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.ReferenceType.`setEnclosingScope(Java.Scope enclosingScope)`
`final void`
Java.Rvalue.`setEnclosingScope(Java.Scope enclosingScope)`
Sets the enclosing scope for this object and all subordinate `Java.Rvalue` objects.
`void`
Java.SimpleType.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.SingleElementAnnotation.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.Statement.`setEnclosingScope(Java.Scope enclosingScope)`
`void`
Java.Type.`setEnclosingScope(Java.Scope enclosingScope)`
Sets the enclosing scope for this object and all subordinate `Java.Type` objects.
`void`
Java.TypeArgument.`setEnclosingScope(Java.Scope enclosingScope)`
Sets the enclosing scope for this type argument.
`void`
Java.VariableDeclarator.`setEnclosingScope(Java.Scope s)`
Sets the immediately enclosing scope for the (optional) initializer.
`void`
Java.Wildcard.`setEnclosingScope(Java.Scope enclosingScope)`