Uses of Interface
org.codehaus.janino.Java.Scope
Packages that use Java.Scope
-
Uses of Java.Scope in org.codehaus.janino
Subinterfaces of Java.Scope in org.codehaus.janinoModifier and TypeInterfaceDescriptionstatic interfaceBase for package member ("top-level") and member ("nested") annotation type declarations.static interfaceEverything that can be compiled to code, e.g.static interfaceBase for the various class declarations (top-level class, local class, anonymous class, nested class, top-level enum, nested enum).static interfaceBase for package member (a.k.a.static interface(package private) static interfaceRepresents the declaration of an inner class, i.e.static interfaceRepresents a class or interface declaration where the immediately enclosing scope is another class or interface declaration.static interfaceRepresents the declaration of a class or an interface that has a name.static interfaceRepresents a class or interface declaration on compilation unit level.static interfaceRepresentation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".static interfaceBase for the various kinds of type declarations, e.g.Classes in org.codehaus.janino that implement Java.ScopeModifier and TypeClassDescriptionstatic classBase for the various class declaration kinds.static classHolds the result ofParser.parseAbstractCompilationUnit().static classAbstract implementation ofJava.TypeBodyDeclaration.static classAbstract implementation ofJava.TypeDeclaration.static final classRepresentation of a JLS7 8.8.7.1.static final classRepresentation of a JLS7 15.9.5 "anonymous class declaration".static final classRepresentation of the JLS7 14.10 ASSERT statement.static final classRepresentation of a Java "block" (JLS7 14.2).static classBase class for statements that can be terminated abnormally with abreakstatement.static final classRepresentation of the JLS7 14.15 BREAK statement.static classRepresentation of a JLS7 14.20.1 CATCH clause.static final classRepresentation 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 classRepresentation of a constructor declarator.static classAbstract bas class forJava.SuperConstructorInvocationandJava.AlternateConstructorInvocation.static classBase class for statements that support the "continue" statement.static final classRepresentation of the JLS7 14.16 CONTINUE statement.static final classRepresentation of a JLS7 14.13 DO statement.static final classRepresentation of the "empty statement", i.e.static final classLazily determines and returns the enclosingJava.Scopeof the givenJava.TypeDeclaration.static final classRepresentation of an "enum constant", see JLS7 8.9.1.static final classRepresentation of the JLS7 14.8 "expression statement".static final classThis class is derived from "Statement", because it provides for the initialization of the field.static final classRepresentation of a JLS7 14.14.2 "enhanced FOR statement".static final classRepresentation of a JLS7 14.14.1 "basic FOR statement".static classAbstract base class forJava.ConstructorDeclaratorandJava.MethodDeclarator.static final classRepresentation of a JLS7 14.9 IF statement.static final classRepresentation of an "instance initializer" (JLS7 8.6) or "static initializer" (JLS7 8.7).static classBase for the various interface declaration kinds.static final classRepresentation of a JLS7 14.7 "labeled statement".static final classRepresentation of a "local class declaration" i.e.static final classRepresentation of the JLS7 14.3 "local class declaration statement".static final classRepresentation of a JLS7 14.4 "local variable declaration statement".static final classRepresentation of a member annotation type declaration, a.k.a.static classRepresentation of a "member class declaration", i.e.static final classRepresentation of a "member enum declaration", i.e.static classRepresentation of a "member interface declaration", i.e.static final classRepresentation of a method declarator.static final classRepresents aModularCompilationUnitas specified in JLS11 7.3.static classBase for the various named class declarations.static final classRepresentation of a package member annotation type declaration, a.k.a.static classImplementation of a "package member class declaration", a.k.a.static final classImplementation of a "package member enum declaration", a.k.a.static classRepresentation of a "package member interface declaration", a.k.a.static final classRepresentation of the JLS7 14.17 RETURN statement.static classEverything that can occur in the body of a method or in a block.static final classRepresentation of a JLS7 8.8.7.1.static final classThe JLS7 14.10switchStatement.static final classRepresentation of a JLS7 14.9 SYNCHRONIZED statement.static final classRepresentation of a JLS7 14.18 THROW statement.static final classRepresentation of a JLS7 14.20 TRY statement.static final classRepresentation of the JLS7 14.2 WHILE statement.Fields in org.codehaus.janino declared as Java.ScopeModifier and TypeFieldDescriptionprivate Java.ScopeJava.AbstractTypeDeclaration.enclosingScopeprivate Java.ScopeJava.ConstructorInvocation.enclosingScopeprivate Java.ScopeJava.Rvalue.enclosingScopeprivate Java.ScopeJava.Statement.enclosingScopeprivate Java.ScopeJava.Type.enclosingScopeMethods in org.codehaus.janino that return Java.ScopeModifier and TypeMethodDescriptionJava.AbstractCompilationUnit.getEnclosingScope()Java.AbstractTypeBodyDeclaration.getEnclosingScope()Java.AbstractTypeDeclaration.getEnclosingScope()Java.BlockStatement.getEnclosingScope()Java.CatchClause.getEnclosingScope()Java.ConstructorInvocation.getEnclosingScope()Java.EnclosingScopeOfTypeDeclaration.getEnclosingScope()Java.FunctionDeclarator.getEnclosingScope()Java.Rvalue.getEnclosingScope()Java.Scope.getEnclosingScope()Java.SimpleType.getEnclosingScope()Java.Statement.getEnclosingScope()Java.Type.getEnclosingScope()Java.Rvalue.getEnclosingScopeOrNull()Methods in org.codehaus.janino with parameters of type Java.ScopeModifier and TypeMethodDescriptionprivate voidUnitCompiler.checkAccessible(IClass.IMember member, Java.Scope contextScope, Location location) Checks whether the givenIClass.IMemberis accessible in the given context, according to JLS7 6.6.1.BL1.B4.private voidUnitCompiler.checkAccessible(IClass type, Java.Scope contextScope, Location location) Checks whether the givenIClassis accessible in the given context, according to JLS7 6.6.1.2 and 6.6.1.4.private voidUnitCompiler.checkMemberAccessible(IClass iClassDeclaringMember, IClass.IMember member, Java.Scope contextScope, Location location) Verifies that 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 voidUnitCompiler.checkThrownException(Java.Locatable locatable, IType type, Java.Scope scope) private static Java.LocalClassDeclarationUnitCompiler.findLocalClassDeclaration(Java.Scope s, String name) Finds a local class declared in any block enclosing the given block statement.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.private IClass.IInvocableUnitCompiler.findMostSpecificIInvocable(Java.Locatable locatable, IClass.IInvocable[] iInvocables, Java.Rvalue[] arguments, Java.Scope contextScope) Determines the arguments' types, determine the applicable invocables and choose the most specific invocable and adjust arguments as needed (for varargs case).private IClassUnitCompiler.getRawReferenceType(Location location, String simpleTypeName, Java.Scope scope) private ITypeUnitCompiler.getReferenceType(Location location, String simpleTypeName, Java.TypeArgument[] typeArguments, Java.Scope scope) JLS7 6.5.5.1 Simple type name (single identifier)private ITypeUnitCompiler.getReferenceType(Location location, Java.Scope scope, String[] identifiers, int n, Java.TypeArgument[] typeArguments) private StringUnitCompiler.internalCheckAccessible(IClass iClassDeclaringMember, Access memberAccess, Java.Scope contextScope) private StringUnitCompiler.internalCheckAccessible(IClass type, Java.Scope contextScope) private voidUnitCompiler.invokeConstructor(Java.Locatable locatable, Java.Scope scope, Java.Rvalue enclosingInstance, IType targetType, Java.Rvalue[] arguments) Expects the object to initialize on the stack.private booleanUnitCompiler.isAccessible(IClass.IMember member, Java.Scope contextScope) Determines whether the givenIClass.IMemberis accessible in the given context, according to JLS7 6.6.1.BL1.B4.private booleanUnitCompiler.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 booleanUnitCompiler.isAccessible(IClass type, Java.Scope contextScope) Determines whether the givenIClassis accessible in the given context, according to JLS7 6.6.1.2 and 6.6.1.4.private voidUnitCompiler.leaveStatements(Java.Scope from, Java.Scope to) Statements that jump out of blocks (return,break,continue) must call this method to make sure that thefinallyclauses of alltry ... catchandsynchronizedstatements are executed.private Java.AtomUnitCompiler.reclassifyName(Location location, Java.Scope scope, String identifier) JLS7 6.5.2.1private Java.AtomUnitCompiler.reclassifyName(Location location, Java.Scope scope, String[] identifiers, int n) Reclassifies the ambiguous name consisting of the first n of the identifiers (JLS7 6.5.2.2).voidJava.AbstractAnnotation.setEnclosingScope(Java.Scope enclosingScope) voidJava.AbstractTypeBodyDeclaration.setEnclosingScope(Java.Scope enclosingScope) Forward-implementsJava.BlockStatement.setEnclosingScope(Java.Scope).voidJava.AbstractTypeDeclaration.setEnclosingScope(Java.Scope enclosingScope) Sets the enclosing scope of thisJava.TypeDeclaration.voidJava.Annotation.setEnclosingScope(Java.Scope enclosingScope) Sets the enclosing scope for this annotation.voidJava.ArrayInitializer.setEnclosingScope(Java.Scope s) voidJava.ArrayInitializerOrRvalue.setEnclosingScope(Java.Scope s) Sets the immediately enclosing scope for this array initializer or rvalue.voidJava.ArrayType.setEnclosingScope(Java.Scope enclosingScope) voidJava.BlockStatement.setEnclosingScope(Java.Scope enclosingScope) Sets the enclosing scope of thisJava.BlockStatement.voidJava.CatchParameter.setEnclosingScope(Java.Scope enclosingScope) voidJava.ConstructorInvocation.setEnclosingScope(Java.Scope enclosingScope) voidJava.ElementValue.setEnclosingScope(Java.Scope scope) In most cases, the scope is the enclosingJava.BlockStatement, except for top-level class/interface annotation class-literal element-value-pairs, where the enclosing scope is the compilation unit.voidJava.ElementValueArrayInitializer.setEnclosingScope(Java.Scope scope) voidJava.FieldDeclaration.setEnclosingScope(Java.Scope enclosingScope) voidJava.FunctionDeclarator.setEnclosingScope(Java.Scope enclosingScope) voidJava.MethodDeclarator.setEnclosingScope(Java.Scope enclosingScope) voidJava.NormalAnnotation.setEnclosingScope(Java.Scope enclosingScope) voidJava.ReferenceType.setEnclosingScope(Java.Scope enclosingScope) final voidJava.Rvalue.setEnclosingScope(Java.Scope enclosingScope) Sets the enclosing scope for this object and all subordinateJava.Rvalueobjects.voidJava.SimpleType.setEnclosingScope(Java.Scope enclosingScope) voidJava.SingleElementAnnotation.setEnclosingScope(Java.Scope enclosingScope) voidJava.Statement.setEnclosingScope(Java.Scope enclosingScope) voidJava.Type.setEnclosingScope(Java.Scope enclosingScope) Sets the enclosing scope for this object and all subordinateJava.Typeobjects.voidJava.TypeArgument.setEnclosingScope(Java.Scope enclosingScope) Sets the enclosing scope for this type argument.voidJava.VariableDeclarator.setEnclosingScope(Java.Scope s) Sets the immediately enclosing scope for the (optional) initializer.voidJava.Wildcard.setEnclosingScope(Java.Scope enclosingScope)