Uses of Interface
org.codehaus.janino.Java.Scope
-
Packages that use Java.Scope Package Description org.codehaus.janino The classes in this package pose the core of the Janino JavaTM 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.BlockStatement
Everything that can be compiled to code, e.g.(package private) static interface
Java.InnerClassDeclaration
Represents the declaration of an inner class, i.e.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.AbstractTypeBodyDeclaration
Abstract implementation ofJava.TypeBodyDeclaration
.static class
Java.AbstractTypeDeclaration
Abstract implementation ofJava.TypeDeclaration
.static class
Java.AlternateConstructorInvocation
Representation of a JLS7 8.8.7.1.static class
Java.AnonymousClassDeclaration
Representation of a JLS7 15.9.5 'anonymous class declaration'.static class
Java.AssertStatement
Representation of the JLS7 14.10 ASSERT statement.static 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 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 class
Java.ClassDeclaration
Base for the various class declaration kinds.static class
Java.CompilationUnit
Holds the result ofParser.parseCompilationUnit()
.static class
Java.ConstructorDeclarator
Representation of a constructor declarator.static class
Java.ConstructorInvocation
Abstract bas class forJava.SuperConstructorInvocation
andJava.AlternateConstructorInvocation
.static class
Java.ContinuableStatement
Base class for statements that support the 'continue' statement.static class
Java.ContinueStatement
Representation of the JLS7 14.16 CONTINUE statement.static class
Java.DoStatement
Representation of a JLS7 14.13 DO statement.static class
Java.EmptyStatement
Representation of the "empty statement", i.e.static class
Java.EnclosingScopeOfTypeDeclaration
Lazily determines and returns the enclosingJava.Scope
of the givenJava.TypeDeclaration
.static class
Java.ExpressionStatement
Representation of the JLS7 14.8 'expression statement'.static class
Java.FieldDeclaration
This class is derived from "Statement", because it provides for the initialization of the field.static class
Java.ForEachStatement
Representation of a JLS7 14.14.2 'enhanced FOR statement'.static class
Java.ForStatement
Representation of a JLS7 14.14.1 'basic FOR statement'.static class
Java.FunctionDeclarator
Abstract base class forJava.ConstructorDeclarator
andJava.MethodDeclarator
.static class
Java.IfStatement
Representation of a JLS7 14.9 IF statement.static 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 class
Java.LabeledStatement
Representation of a JLS7 14.7 'labeled statement'.static class
Java.LocalClassDeclaration
Representation of a 'local class declaration' i.e.static class
Java.LocalClassDeclarationStatement
Representation of the JLS7 14.3 'local class declaration statement'.static class
Java.LocalVariableDeclarationStatement
Representation of a JLS7 14.4 'local variable declaration statement'.static class
Java.MemberClassDeclaration
Representation of a 'member class declaration', i.e.static class
Java.MemberInterfaceDeclaration
Representation of a 'member interface declaration', i.e.static class
Java.MethodDeclarator
Representation of a method declarator.static class
Java.NamedClassDeclaration
Base for the various named class declarations.static class
Java.PackageMemberClassDeclaration
Implementation of a 'package member class declaration', a.k.a.static class
Java.PackageMemberInterfaceDeclaration
Representation of a 'package member interface declaration', a.k.a.static 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 class
Java.SuperConstructorInvocation
Representation of a JLS7 8.8.7.1.static class
Java.SwitchStatement
The JLS7 14.10 "switch" Statement.static class
Java.SynchronizedStatement
Representation of a JLS7 14.9 SYNCHRONIZED statement.static class
Java.ThrowStatement
Representation of a JLS7 14.18 THROW statement.static class
Java.TryStatement
Representation of a JLS7 14.20 TRY statement.static class
Java.WhileStatement
Representation of the JLS7 14.2 WHILE statement.Fields in org.codehaus.janino declared as Java.Scope Modifier and Type Field Description private Java.Scope
Java.AbstractTypeDeclaration. enclosingScope
private Java.Scope
Java.ConstructorInvocation. enclosingScope
private Java.Scope
Java.Statement. enclosingScope
private Java.Scope
Java.Type. enclosingScope
Methods in org.codehaus.janino that return Java.Scope Modifier and Type Method Description Java.Scope
Java.AbstractTypeBodyDeclaration. getEnclosingScope()
Java.Scope
Java.AbstractTypeDeclaration. getEnclosingScope()
Java.Scope
Java.BlockStatement. getEnclosingScope()
Java.Scope
Java.CatchClause. getEnclosingScope()
Java.Scope
Java.CompilationUnit. getEnclosingScope()
Java.Scope
Java.ConstructorInvocation. getEnclosingScope()
Java.Scope
Java.EnclosingScopeOfTypeDeclaration. getEnclosingScope()
Java.Scope
Java.FunctionDeclarator. getEnclosingScope()
Java.Scope
Java.Scope. getEnclosingScope()
Java.Scope
Java.Statement. getEnclosingScope()
Java.Scope
Java.Type. getEnclosingScope()
Methods in org.codehaus.janino with parameters of type Java.Scope Modifier and Type Method Description private void
UnitCompiler. checkThrownException(Java.Locatable locatable, IClass type, Java.Scope scope)
private static Java.LocalClassDeclaration
UnitCompiler. findLocalClassDeclaration(Java.Scope s, java.lang.String name)
Finds a local class declared in any block enclosing the given block statement.IClass.IInvocable
UnitCompiler. findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, IClass[] argumentTypes, boolean boxingPermitted, Java.Scope contextScope)
Determine the applicable invocables and choose the most specific invocable.private IClass.IInvocable
UnitCompiler. findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, Java.Rvalue[] arguments, Java.Scope contextScope)
Determine the arguments' types, determine the applicable invocables and choose the most specific invocable and adjust arguments as needed (for varargs case).private IClass
UnitCompiler. getReferenceType(Location location, java.lang.String simpleTypeName, Java.Scope scope)
JLS7 6.5.5.1 Simple type name (single identifier)private IClass
UnitCompiler. getReferenceType(Location location, Java.Scope scope, java.lang.String[] identifiers, int n)
private java.lang.String
UnitCompiler. internalCheckAccessible(IClass iClassDeclaringMember, Access memberAccess, Java.Scope contextScope)
private java.lang.String
UnitCompiler. internalCheckAccessible(IClass type, Java.Scope contextScope)
private void
UnitCompiler. invokeConstructor(Java.Locatable locatable, Java.Scope scope, Java.Rvalue optionalEnclosingInstance, IClass targetClass, Java.Rvalue[] arguments)
Expects the object to initialize on the stack.private boolean
UnitCompiler. isAccessible(IClass.IMember member, Java.Scope contextScope)
Determines whether the givenIClass.IMember
is accessible in the given context, according to JLS7 6.6.1.BL1.B4.private boolean
UnitCompiler. isAccessible(IClass iClassDeclaringMember, Access memberAccess, Java.Scope contextScope)
Determines whether a member (class, interface, field or method) declared in a given class is accessible from a given block statement context, according to JLS7 6.6.1.4.private boolean
UnitCompiler. isAccessible(IClass type, Java.Scope contextScope)
Determines whether the givenIClass
is accessible in the given context, according to JLS7 6.6.1.2 and 6.6.1.4.private void
UnitCompiler. leaveStatements(Java.Scope from, Java.Scope to, IClass optionalStackValueType)
Statements that jump out of blocks ("return", "break", "continue") must call this method to make sure that the "finally" clauses of all "try...catch" statements are executed.private Java.Atom
UnitCompiler. reclassifyName(Location location, Java.Scope scope, java.lang.String identifier)
JLS7 6.5.2.1private Java.Atom
UnitCompiler. reclassifyName(Location location, Java.Scope scope, java.lang.String[] identifiers, int n)
Reclassifies the ambiguous name consisting of the firstn
of theidentifiers
(JLS7 6.5.2.2).void
Java.AbstractTypeBodyDeclaration. setEnclosingScope(Java.Scope enclosingScope)
Forward-implementsJava.BlockStatement.setEnclosingScope(Java.Scope)
.void
Java.AbstractTypeDeclaration. setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope of thisJava.TypeDeclaration
.void
Java.Annotation. setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this annotation.void
Java.ArrayType. setEnclosingScope(Java.Scope enclosingScope)
void
Java.BlockStatement. setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope of thisJava.BlockStatement
.void
Java.ConstructorInvocation. setEnclosingScope(Java.Scope enclosingScope)
void
Java.MarkerAnnotation. setEnclosingScope(Java.Scope enclosingScope)
void
Java.NormalAnnotation. 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 subordinateJava.Type
objects.
-