Uses of Class
org.glassfish.rmic.tools.java.Environment
Packages that use Environment
Package
Description
-
Uses of Environment in org.glassfish.rmic
Subclasses of Environment in org.glassfish.rmicModifier and TypeClassDescriptionclass
BatchEnvironment for rmic extends javac's version in four ways: 1. -
Uses of Environment in org.glassfish.rmic.asm
Fields in org.glassfish.rmic.asm declared as EnvironmentMethods in org.glassfish.rmic.asm with parameters of type EnvironmentModifier and TypeMethodDescriptionprotected void
AsmClass.basicCheck
(Environment env) AsmMemberDefinition.getExceptions
(Environment env) AsmMemberDefinition.getMemberValueString
(Environment env) AsmClassFactory.loadDefinition
(InputStream is, Environment env) void
AsmClass.loadNested
(Environment env) Constructors in org.glassfish.rmic.asm with parameters of type Environment -
Uses of Environment in org.glassfish.rmic.iiop
Subclasses of Environment in org.glassfish.rmic.iiopModifier and TypeClassDescriptionclass
BatchEnvironment for iiop extends rmic's version to add parse state. -
Uses of Environment in org.glassfish.rmic.tools.asm
Methods in org.glassfish.rmic.tools.asm with parameters of type EnvironmentModifier and TypeMethodDescriptionvoid
Assembler.addNativeToJcovTab
(Environment env, ClassDefinition c) void
Assembler.collect
(Environment env, MemberDefinition field, ConstantPool tab) Collect all constants into the constant tableprivate String
Assembler.createClassJcovElement
(Environment env, ClassDefinition c) (package private) void
Assembler.flowFields
(Environment env, Label lbl, MemberDefinition[] locals) Figure out when registers contain a legal value.void
Assembler.GenJCov
(Environment env) void
Assembler.GenVecJCov
(Environment env, ClassDefinition c, long Time) void
Assembler.optimize
(Environment env) Optimize the byte codes(package private) void
Assembler.optimize
(Environment env, Label lbl) Optimize instructions and mark those that can be reached(package private) void
Instruction.optimize
(Environment env) Optimizevoid
Assembler.write
(Environment env, DataOutputStream out, MemberDefinition field, ConstantPool tab) Generate code(package private) void
ClassConstantData.write
(Environment env, DataOutputStream out, ConstantPool tab) Write the constant to the output streamvoid
ConstantPool.write
(Environment env, DataOutputStream out) Write to output(package private) abstract void
ConstantPoolData.write
(Environment env, DataOutputStream out, ConstantPool tab) Write the constant to the output stream(package private) void
FieldConstantData.write
(Environment env, DataOutputStream out, ConstantPool tab) Write the constant to the output stream(package private) void
LocalVariableTable.write
(Environment env, DataOutputStream out, ConstantPool tab) Write out the data.(package private) void
NameAndTypeConstantData.write
(Environment env, DataOutputStream out, ConstantPool tab) Write the constant to the output stream(package private) void
NumberConstantData.write
(Environment env, DataOutputStream out, ConstantPool tab) Write the constant to the output stream(package private) void
StringConstantData.write
(Environment env, DataOutputStream out, ConstantPool tab) Write the constant to the output stream(package private) void
StringExpressionConstantData.write
(Environment env, DataOutputStream out, ConstantPool tab) Write the constant to the output streamvoid
Assembler.writeCoverageTable
(Environment env, ClassDefinition c, DataOutputStream out, ConstantPool tab, long whereField) Write the coverage table(package private) void
Assembler.writeExceptions
(Environment env, DataOutputStream out, ConstantPool tab, Instruction first, Instruction last) Write the exceptions tablevoid
Assembler.writeLineNumberTable
(Environment env, DataOutputStream out, ConstantPool tab) Write the linenumber tablevoid
Assembler.writeLocalVariableTable
(Environment env, MemberDefinition field, DataOutputStream out, ConstantPool tab) Write the local variable table. -
Uses of Environment in org.glassfish.rmic.tools.binaryclass
Methods in org.glassfish.rmic.tools.binaryclass with parameters of type EnvironmentModifier and TypeMethodDescriptionvoid
BinaryMember.addAttribute
(Identifier name, byte[] data, Environment env) protected void
BinaryClass.basicCheck
(Environment env) Ready a BinaryClass for further checking.void
BinaryConstantPool.createIndexHash
(Environment env) Create a hash table of all the items in the constant pool that could possibly be referenced from the outside.BinaryConstantPool.getConstant
(int n, Environment env) get the n-th constant from the constant poolBinaryConstantPool.getDeclaration
(Environment env, int n) get class declarationBinaryConstantPool.getDeclarationFromName
(Environment env, int n) get class declarationBinaryConstantPool.getDependencies
(Environment env) Get a list of dependencies, ie: all the classes referenced in this constant pool.BinaryMember.getExceptions
(Environment env) Get exceptionsBinaryMember.getMemberValueString
(Environment env) BinaryMember.getValue
(Environment env) Get the valueint
BinaryConstantPool.indexObject
(Object obj, Environment env) Find the index of an Object in the constant poolint
BinaryConstantPool.indexString
(String string, Environment env) Find the index of an ascii string in the constant pool.private void
BinaryClass.initInnerClasses
(Environment env, byte[] data, int flags) boolean
BinaryMember.isInlineable
(Environment env, boolean fromFinal) Inline allowed (currently only allowed for the constructor of Object).static BinaryClass
BinaryClass.load
(Environment env, DataInputStream in, int mask) BinaryClassFactory.loadDefinition
(InputStream is, Environment env) void
BinaryClass.loadNested
(Environment env) Called when an environment ties a binary definition to a declaration.private void
BinaryClass.loadNested
(Environment env, int flags) (package private) static void
BinaryAttribute.write
(BinaryAttribute attributes, DataOutputStream out, BinaryConstantPool cpool, Environment env) void
BinaryClass.write
(Environment env, OutputStream out) Write the class out to a given stream.void
BinaryConstantPool.write
(DataOutputStream out, Environment env) Write out the contents of the constant pool, including any additions that have been added. -
Uses of Environment in org.glassfish.rmic.tools.java
Subclasses of Environment in org.glassfish.rmic.tools.javaFields in org.glassfish.rmic.tools.java declared as EnvironmentModifier and TypeFieldDescription(package private) Environment
Environment.env
The actual environment to which everything is forwarded.Scanner.env
Where errors are reported(package private) Environment
ScannerInputReader.env
Methods in org.glassfish.rmic.tools.java that return EnvironmentModifier and TypeMethodDescriptionImports.newEnvironment
(Environment env) Extend an environment with my resolve() method.Methods in org.glassfish.rmic.tools.java with parameters of type EnvironmentModifier and TypeMethodDescriptionvoid
ClassDefinition.addMember
(Environment env, MemberDefinition field) Add a field (subclasses make checks)protected void
ClassDefinition.addMirandaMethods
(Environment env, Iterator<MemberDefinition> mirandas) Add a list of methods to this class as miranda methods.protected void
ClassDefinition.basicCheck
(Environment env) boolean
ClassDefinition.canAccess
(Environment env, ClassDeclaration c) Check if another class can be accessed from within the body of this class.boolean
ClassDefinition.canAccess
(Environment env, MemberDefinition f) Check if a field can be accessed from a classfinal boolean
MemberDefinition.canReach
(Environment env, MemberDefinition f) Check if a field can reach another field (only considers forward references, not the access modifiers).void
ClassDefinition.check
(Environment env) Check this class.void
MemberDefinition.check
(Environment env) Request a check of the field definition.MemberDefinition.check
(Environment env, Context ctx, Vset vset) Really check the field definition.ClassDefinition.checkLocalClass
(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes) boolean
MemberDefinition.checkMeet
(Environment env, MemberDefinition method, ClassDeclaration clazz) Check to see if two method definitions are compatible, that is do they have a `meet'.boolean
MemberDefinition.checkOverride
(Environment env, MemberDefinition method) Check to see if `this' can override/hide `method'.private boolean
MemberDefinition.checkOverride
(Environment env, MemberDefinition method, ClassDeclaration clazz) Checks whether `this' can override `method'.void
ClassDefinition.cleanup
(Environment env) After the class has been written to disk, try to free up some storage.void
MemberDefinition.cleanup
(Environment env) void
MemberDefinition.code
(Environment env, Assembler asm) Generate codevoid
MemberDefinition.codeInit
(Environment env, Context ctx, Assembler asm) protected void
ClassDefinition.collectInheritedMethods
(Environment env) Collect all methods defined in this class or inherited from any of our superclasses or interfaces.private void
ClassDefinition.collectOneClass
(Environment env, ClassDeclaration parent, MethodSet myMethods, MethodSet allMethods, MethodSet mirandaMethods) Add all of the methods declared in or above `parent' to `allMethods', the set of methods in the current class.boolean
MemberDefinition.couldOverride
(Environment env, MemberDefinition method) This method is meant to be used to determine if one of two inherited methods could override the other.private boolean
ClassDefinition.diagnoseMismatch
(Environment env, Identifier nm, Type[] argTypes, int start, int[] haveMatch, Type[] margType) int
ClassDefinition.diagnoseMismatch
(Environment env, Identifier nm, Type[] argTypes, int start, Type[] margTypeResult) Given the fact that this class has no method "nm" matching "argTypes", find out if the mismatch can be blamed on a particular actual argument which disagrees with all of the overloadings.private boolean
MemberDefinition.exceptionsFit
(Environment env, MemberDefinition method) Check to see if the exceptions of `this' fit within the exceptions of `method'.protected boolean
ClassDefinition.extendsCanAccess
(Environment env, ClassDeclaration c) Check if another class can be accessed from the 'extends' or 'implements' clause of this class.ClassDefinition.findAnyMethod
(Environment env, Identifier nm) Find any method with a given name.ClassDefinition.findMethod
(Environment env, Identifier nm, Type t) Find a method, ie: exact match in this class or any of the super classes.Imports.forceResolve
(Environment env, Identifier nm) Suppose a resolve() call has failed.ClassDefinition.getAccessMember
(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Find or create an access method for a private member, or return null if this is not possible.ClassDeclaration.getClassDefinition
(Environment env) Get the definition of this class, if the class is not yet defined, load the definition.ClassDeclaration.getClassDefinitionNoCheck
(Environment env) Get the definition of this class, if the class is not yet defined, load the definition.MemberDefinition.getExceptions
(Environment env) Get the exceptions that are thrown by this method.ClassDefinition.getInnerClass
(Environment env, Identifier nm) Get an inner class.MemberDefinition.getMemberValueString
(Environment env) protected Iterator
<MemberDefinition> ClassDefinition.getMethods
(Environment env) Get an Iterator of all methods which could be accessed in an instance of this class.ClassDefinition.getSuperClass
(Environment env) Get the super class, and resolve names now if necessary.ClassDefinition.getUpdateMember
(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Find or create an update method for a private member, or return null if this is not possible.MemberDefinition.getValue
(Environment env) Get the field's final value (may return null)ClassDefinition.getVariable
(Environment env, Identifier nm, ClassDefinition source) Get a field from this class.private MemberDefinition
ClassDefinition.getVariable0
(Environment env, Identifier nm, ClassDefinition source, boolean showPrivate, boolean showPackage) boolean
ClassDefinition.implementedBy
(Environment env, ClassDeclaration c) Check if this class is implemented by another classstatic boolean
Imports.importable
(Identifier id, Environment env) Check to see if 'id' names an importable class in `env'.void
ClassDefinition.inlineLocalClass
(Environment env) boolean
MemberDefinition.isInlineable
(Environment env, boolean fromFinal) ClassDefinitionFactory.loadDefinition
(InputStream is, Environment env) void
ClassDefinition.loadNested
(Environment env) Environment.makeClassDefinition
(Environment origEnv, long where, IdentifierToken name, String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass) Create a new class.Environment.makeMemberDefinition
(Environment origEnv, long where, ClassDefinition clazz, String doc, int modifiers, Type type, Identifier name, IdentifierToken[] argNames, IdentifierToken[] expIds, Object value) Create a new field.static MemberDefinition
MemberDefinition.makeProxyMember
(MemberDefinition field, ClassDefinition classDef, Environment env) Create a member which is externally the same as `field' but is defined in class `classDef'.ClassDefinition.matchAnonConstructor
(Environment env, Identifier accessPackage, Type[] argumentTypes) A version of matchMethod to be used only for constructors when we cannot pass in a sourceClass argument.ClassDefinition.matchMethod
(Environment env, ClassDefinition accessor, Identifier methodName) Lookup a method.ClassDefinition.matchMethod
(Environment env, ClassDefinition accessor, Identifier methodName, Type[] argumentTypes) Lookup a method.private MemberDefinition
ClassDefinition.matchMethod
(Environment env, ClassDefinition accessor, Identifier methodName, Type[] argumentTypes, boolean isAnonConstCall, Identifier accessPackage) Lookup a method.private static void
ClassDefinition.methodSetAdd
(Environment env, MethodSet methodSet, MemberDefinition newMethod) final boolean
ClassDefinition.mustBeAbstract
(Environment env) Check to see if a class must be abstract.Imports.newEnvironment
(Environment env) Extend an environment with my resolve() method.void
ClassDefinition.noteUsedBy
(ClassDefinition ref, long where, Environment env) Note that this class is being used somehow byref
.boolean
ClassDefinition.permitInlinedAccess
(Environment env, ClassDeclaration c) Check if a class is entitled to inline access to a class from another class.boolean
ClassDefinition.permitInlinedAccess
(Environment env, MemberDefinition f) Check if a class is entitled to inline access to a method from another class.boolean
ClassDefinition.protectedAccess
(Environment env, MemberDefinition f, Type accessorType) We know the field is marked protected (and not public) and that the field is visible (as per canAccess).boolean
ClassDefinition.reportDeprecated
(Environment env) Tells whether to report a deprecation error for this class.boolean
MemberDefinition.reportDeprecated
(Environment env) Tells whether to report a deprecation error for this field.private void
MemberDefinition.reportError
(Environment env, String errorString, ClassDeclaration clazz, MemberDefinition method) Munge our error message to report whether the override conflict came from an inherited method or a declared method.void
Imports.resolve
(Environment env) Check the names of the imports.Imports.resolve
(Environment env, Identifier nm) Lookup a class, given the current set of imports, AmbiguousClass exception is thrown if the name can be resolved in more than one way.ClassDefinition.resolveInnerClass
(Environment env, Identifier nm) Interpret a qualified class name, which may have further subcomponents..ClassDefinition.resolveName
(Environment env, Identifier name) Look up an inner class name, from somewhere inside this class.void
ClassDefinition.resolveTypeStructure
(Environment env) We create a stub for this.void
MemberDefinition.resolveTypeStructure
(Environment env) A stub.boolean
ClassDefinition.subClassOf
(Environment env, ClassDeclaration otherClass) Check if this is a sub class of another classboolean
ClassDefinition.superClassOf
(Environment env, ClassDeclaration otherClass) Check if this is a super class of another classConstructors in org.glassfish.rmic.tools.java with parameters of type EnvironmentModifierConstructorDescriptionEnvironment
(Environment env, Object source) (package private)
ImportEnvironment
(Environment env, Imports imports) Imports
(Environment env) Constructor, always import java.lang.protected
Parser
(Environment env, InputStream in) Create a parserprotected
Scanner
(Environment env) Create a scanner to scan an input stream.Scanner
(Environment env, InputStream in) Create a scanner to scan an input stream.ScannerInputReader
(Environment env, InputStream in) -
Uses of Environment in org.glassfish.rmic.tools.javac
Subclasses of Environment in org.glassfish.rmic.tools.javacModifier and TypeClassDescriptionclass
Main environment of the batch version of the Java compiler, this needs more work.Fields in org.glassfish.rmic.tools.javac declared as EnvironmentModifier and TypeFieldDescriptionprotected Environment
BatchParser.toplevelEnv
Deprecated.The toplevel environment(package private) Environment
SourceClass.toplevelEnv
Deprecated.The toplevel environment, shared with the parserMethods in org.glassfish.rmic.tools.javac that return EnvironmentModifier and TypeMethodDescriptionSourceClass.setupEnv
(Environment env) Deprecated.Create an environment suitable for checking this class.Methods in org.glassfish.rmic.tools.javac with parameters of type EnvironmentModifier and TypeMethodDescriptionvoid
SourceClass.addMember
(Environment env, MemberDefinition f) Deprecated.Add a field (check it first)protected void
SourceClass.addMirandaMethods
(Environment env, Iterator<MemberDefinition> mirandas) Deprecated.Add a group of methods to this class as miranda methods.protected void
SourceClass.basicCheck
(Environment env) Deprecated.void
SourceClass.check
(Environment env) Deprecated.Check this class and all its fields.void
SourceMember.check
(Environment env) Deprecated.Check this field.SourceMember.check
(Environment env, Context ctx, Vset vset) Deprecated.Check a field.private void
SourceClass.checkBlankFinals
(Environment env, Context ctxInit, Vset vset, boolean isStatic) Deprecated.Make sure all my blank finals exist now.SourceClass.checkInsideClass
(Environment env, Context ctx, Vset vset) Deprecated.Check a class which is inside a local class, but is not itself local.private Vset
SourceClass.checkInternal
(Environment env, Context ctx, Vset vset) Deprecated.SourceClass.checkLocalClass
(Environment env, Context ctx, Vset vset, ClassDefinition sup, Expression[] args, Type[] argTypes) Deprecated.During the type-checking of an outer method body or initializer, this routine is called to check a local class body in the proper context.private Vset
SourceClass.checkMembers
(Environment env, Context ctx, Vset vset) Deprecated.Check all of the members of this class.void
SourceClass.checkSourceFile
(Environment env, long where) Deprecated.See if the source file of this class is of the right name.private void
SourceClass.checkSupers
(Environment env) Deprecated.Check that all superclasses and superinterfaces are defined and well formed.void
SourceMember.code
(Environment env, Assembler asm) Deprecated.Generate codevoid
SourceMember.codeInit
(Environment env, Context ctx, Assembler asm) Deprecated.protected void
SourceClass.compileClass
(Environment env, OutputStream out) Deprecated.SourceClass.getAccessMember
(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Deprecated.Find or create an access method for a private member, or return null if this is not possible.private MemberDefinition
SourceClass.getAccessMember
(Environment env, Context ctx, MemberDefinition field, boolean isUpdate, boolean isSuper) Deprecated.private Expression
SourceMember.getDefaultSuperCall
(Environment env) Deprecated.SourceMember.getExceptions
(Environment env) Deprecated.Get exceptionsSourceClass.getSuperClass
(Environment env) Deprecated.Overrides 'ClassDefinition.getSuperClass'.SourceClass.getUpdateMember
(Environment env, Context ctx, MemberDefinition field, boolean isSuper) Deprecated.SourceMember.getValue
(Environment env) Deprecated.Get the value of the field (or null if the value can't be determined)(package private) void
SourceMember.inline
(Environment env) Deprecated.Inline the fieldvoid
SourceClass.inlineLocalClass
(Environment env) Deprecated.As with checkLocalClass, run the inline phase for a local class.boolean
SourceMember.isInlineable
(Environment env, boolean fromFinal) Deprecated.BatchEnvironment.makeClassDefinition
(Environment toplevelEnv, long where, IdentifierToken name, String doc, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, ClassDefinition outerClass) Create a new class.BatchEnvironment.makeMemberDefinition
(Environment origEnv, long where, ClassDefinition clazz, String doc, int modifiers, Type type, Identifier name, IdentifierToken[] argNames, IdentifierToken[] expIds, Object value) Create a new field.private void
SourceClass.maybeCheck
(Environment env) Deprecated.void
SourceClass.noteUsedBy
(ClassDefinition ref, long where, Environment env) Deprecated.See if the source file of this class is right.void
SourceClass.printClassDependencies
(Environment env) Deprecated.Print out the dependencies for this class (-xdepend) optionboolean
SourceClass.reportDeprecated
(Environment env) Deprecated.A source class never reports deprecation, since the compiler allows access to deprecated features that are being compiled in the same job.boolean
SourceMember.reportDeprecated
(Environment env) Deprecated.A source field never reports deprecation, since the compiler allows access to deprecated features that are being compiled in the same job.private void
SourceClass.resolveAnonymousStructure
(Environment env, ClassDefinition sup, Expression[] args, Type[] argTypes) Deprecated.Just before checking an anonymous class, decide its true inheritance, and build its (sole, implicit) constructor.private ClassDeclaration
SourceClass.resolveSuper
(Environment env, IdentifierToken t) Deprecated.protected void
SourceClass.resolveSupers
(Environment env) Deprecated.void
SourceClass.resolveTypeStructure
(Environment env) Deprecated.void
SourceMember.resolveTypeStructure
(Environment env) Deprecated.SourceClass.setupEnv
(Environment env) Deprecated.Create an environment suitable for checking this class.Constructors in org.glassfish.rmic.tools.javac with parameters of type EnvironmentModifierConstructorDescriptionBatchParser
(Environment env, InputStream in) Deprecated.Create a batch file parserSourceClass
(Environment env, long where, ClassDeclaration declaration, String documentation, int modifiers, IdentifierToken superClass, IdentifierToken[] interfaces, SourceClass outerClass, Identifier localName) Deprecated.ConstructorSourceMember
(MemberDefinition f, ClassDefinition c, Environment env) Deprecated.Constructor. -
Uses of Environment in org.glassfish.rmic.tools.tree
Subclasses of Environment in org.glassfish.rmic.tools.treeFields in org.glassfish.rmic.tools.tree declared as EnvironmentMethods in org.glassfish.rmic.tools.tree that return EnvironmentModifier and TypeMethodDescriptionstatic Environment
Context.newEnvironment
(Environment env, Context ctx) Extend an environment with the given context.Methods in org.glassfish.rmic.tools.tree with parameters of type EnvironmentModifier and TypeMethodDescriptionprivate ClassDefinition
FieldExpression.accessBase
(Environment env, Context ctx) Determine if an access method is required, and, if so, return the class in which it should appear, else return null.private Vset
IdentifierExpression.assign
(Environment env, Context ctx, Vset vset) Assign a value to this identifier.(package private) boolean
IdentifierExpression.bind
(Environment env, Context ctx) Bind to a fieldboolean
Context.canReach
(Environment env, MemberDefinition f) Check if a field can reach another field (only considers forward references, not the access modifiers).Check void expression(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check statementCheck void expression(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check statement Report an error unless the call is checkBlockStatement.(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check statementCheck void expressionCheck void expressionCheck void expression(package private) Vset
Check statement(package private) Vset
(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check statement(package private) Vset
Check a while statementArrayAccessExpression.checkAmbigName
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) Expression.checkAmbigName
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) Check something that might be an AmbiguousName (refman 6.5.2).FieldExpression.checkAmbigName
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) Check if the present name is part of a scoping prefix.IdentifierExpression.checkAmbigName
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) Check if the present name is part of a scoping prefix.SuperExpression.checkAmbigName
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) Check if the present name is part of a scoping prefix.TypeExpression.checkAmbigName
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) ArrayAccessExpression.checkAssignOp
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, Expression outside) Expression.checkAssignOp
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, Expression outside) ExprExpression.checkAssignOp
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, Expression outside) Check the expression if it appears as an lvalue.FieldExpression.checkAssignOp
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, Expression outside) Check the expression if it appears on the LHS of an op= expressionIdentifierExpression.checkAssignOp
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, Expression outside) Check the expression if it appears on the LHS of an op= expressionvoid
Context.checkBackBranch
(Environment env, Statement loop, Vset vsEntry, Vset vsBack) Raise an error if a blank final was definitely unassigned on entry to a loop, but has possibly been assigned on the back-branch.(package private) Vset
DeclarationStatement.checkBlockStatement
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) (package private) Vset
Statement.checkBlockStatement
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) This is called in contexts where declarations are valid.private Vset
FieldExpression.checkCommon
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc, boolean isLHS) Common code for checkValue and checkAmbigNameprivate Vset
SuperExpression.checkCommon
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Common code for checkValue and checkAmbigNamevoid
AndExpression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) abstract void
BinaryLogicalExpression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) void
BooleanExpression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) Expression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check a condition.void
Expression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) void
ExprExpression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) Check a condition.void
NotExpression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) void
OrExpression.checkCondition
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, ConditionVars cvars) (package private) Vset
Statement.checkDeclaration
(Environment env, Context ctx, Vset vset, int mod, Type t, Hashtable<Object, Object> exp) (package private) Vset
VarDeclarationStatement.checkDeclaration
(Environment env, Context ctx, Vset vset, int mod, Type t, Hashtable<Object, Object> exp) Check statementstatic Vset
FieldExpression.checkFinalAssign
(Environment env, Context ctx, Vset vset, long where, MemberDefinition field) There is a simple assignment being made to the given final field.ArrayExpression.checkInitializer
(Environment env, Context ctx, Vset vset, Type t, Hashtable<Object, Object> exp) Expression.checkInitializer
(Environment env, Context ctx, Vset vset, Type t, Hashtable<Object, Object> exp) private Vset
FieldExpression.checkInnerClass
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, UnaryExpression loc) This field expression is an inner class reference.protected void
Statement.checkLabel
(Environment env, Context ctx) Make sure the labels on this statement do not duplicate the labels on any enclosing statement.ArrayAccessExpression.checkLHS
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check the expression if it appears on the LHS of an assignmentIdentifierExpression.checkLHS
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check the expression if it appears on the LHS of an assignmentStatement.checkMethod
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check a statementArrayAccessExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check expression typeArrayExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check expression typeAssignExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check an assignment expressionAssignOpExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check an assignment expressionBinaryExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check a binary expressionBinaryLogicalExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check a binary expressionCastExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check the expressionConditionalExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check the expressionConvertExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check the valueExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check an expressionFieldExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check the expressionIdentifierExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check expressionIncDecExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check an increment or decrement expressionInstanceOfExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check the expressionLengthExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Select the type of the expressionMethodExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check expression typeNewArrayExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) CheckNewInstanceExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check expression typeSuperExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check expressionThisExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check expressionTypeExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check an expressionUnaryExpression.checkValue
(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check a unary expression(package private) void
AssignAddExpression.code
(Environment env, Context ctx, Assembler asm, boolean valNeeded) Codevoid
AssignExpression.code
(Environment env, Context ctx, Assembler asm) void
AssignOpExpression.code
(Environment env, Context ctx, Assembler asm) (package private) void
AssignOpExpression.code
(Environment env, Context ctx, Assembler asm, boolean valNeeded) Codevoid
BreakStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
CatchStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
CommaExpression.code
(Environment env, Context ctx, Assembler asm) void
CompoundStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
ConditionalExpression.code
(Environment env, Context ctx, Assembler asm) void
ContinueStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
DeclarationStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
DoStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
Expression.code
(Environment env, Context ctx, Assembler asm) void
ExpressionStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
FinallyStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
ForStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
IfStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
InlineMethodExpression.code
(Environment env, Context ctx, Assembler asm) Codevoid
InlineNewInstanceExpression.code
(Environment env, Context ctx, Assembler asm) Codevoid
InlineReturnStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
InstanceOfExpression.code
(Environment env, Context ctx, Assembler asm) void
NewInstanceExpression.code
(Environment env, Context ctx, Assembler asm) Codevoid
PostDecExpression.code
(Environment env, Context ctx, Assembler asm) void
PostIncExpression.code
(Environment env, Context ctx, Assembler asm) void
PreDecExpression.code
(Environment env, Context ctx, Assembler asm) void
PreIncExpression.code
(Environment env, Context ctx, Assembler asm) void
ReturnStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
Statement.code
(Environment env, Context ctx, Assembler asm) Codevoid
SwitchStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
SynchronizedStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
ThrowStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
TryStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
VarDeclarationStatement.code
(Environment env, Context ctx, Assembler asm) Codevoid
WhileStatement.code
(Environment env, Context ctx, Assembler asm) Code(package private) void
AddExpression.codeAppend
(Environment env, Context ctx, Assembler asm, ClassDeclaration sbClass, boolean needBuffer) Convert this expression to a string and append it to the string buffer on the top of the stack.(package private) void
Expression.codeAppend
(Environment env, Context ctx, Assembler asm, ClassDeclaration sbClass, boolean needBuffer) Convert this expression to a string and append it to the string buffer on the top of the stack.void
UplevelReference.codeArguments
(Environment env, Context ctx, Assembler asm, long where, MemberDefinition conField) Code is being generated for a call to a constructor of the client class.(package private) void
AndExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
BooleanExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
EqualExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
Expression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
GreaterExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
GreaterOrEqualExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
InstanceOfExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) (package private) void
LessExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
LessOrEqualExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
NotEqualExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
NotExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Code(package private) void
OrExpression.codeBranch
(Environment env, Context ctx, Assembler asm, Label lbl, boolean whenTrue) Codeprivate void
InlineNewInstanceExpression.codeCommon
(Environment env, Context ctx, Assembler asm, boolean forValue) private void
NewInstanceExpression.codeCommon
(Environment env, Context ctx, Assembler asm, boolean forValue) (package private) void
Expression.codeConversion
(Environment env, Context ctx, Assembler asm, Type f, Type t) (package private) void
Expression.codeDup
(Environment env, Context ctx, Assembler asm, int items, int depth) Code(package private) void
Statement.codeFinally
(Environment env, Context ctx, Assembler asm, Context stopctx, Type save) Generate the code to call all finally's for a break, continue, or return statement.(package private) void
IncDecExpression.codeIncDec
(Environment env, Context ctx, Assembler asm, boolean inc, boolean prefix, boolean valNeeded) void
UplevelReference.codeInitialization
(Environment env, Context ctx, Assembler asm, long where, MemberDefinition conField) Code is being generated for a constructor of the client class.(package private) void
ArrayAccessExpression.codeLoad
(Environment env, Context ctx, Assembler asm) (package private) void
CommaExpression.codeLoad
(Environment env, Context ctx, Assembler asm) (package private) void
Expression.codeLoad
(Environment env, Context ctx, Assembler asm) (package private) void
FieldExpression.codeLoad
(Environment env, Context ctx, Assembler asm) (package private) void
IdentifierExpression.codeLoad
(Environment env, Context ctx, Assembler asm) (package private) int
ArrayAccessExpression.codeLValue
(Environment env, Context ctx, Assembler asm) Code(package private) int
CommaExpression.codeLValue
(Environment env, Context ctx, Assembler asm) Code(package private) int
Expression.codeLValue
(Environment env, Context ctx, Assembler asm) (package private) int
FieldExpression.codeLValue
(Environment env, Context ctx, Assembler asm) Code(package private) int
IdentifierExpression.codeLValue
(Environment env, Context ctx, Assembler asm) Code local vars (object fields have been inlined away)(package private) void
AddExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignAddExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignBitAndExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignBitOrExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignBitXorExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignDivideExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignMultiplyExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignRemainderExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignShiftLeftExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignShiftRightExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignSubtractExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
AssignUnsignedShiftRightExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
BinaryExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
BitAndExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
BitOrExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
BitXorExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
DivideExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
MultiplyExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
RemainderExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
ShiftLeftExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
ShiftRightExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
SubtractExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
UnsignedShiftRightExpression.codeOperation
(Environment env, Context ctx, Assembler asm) Code(package private) void
ArrayAccessExpression.codeStore
(Environment env, Context ctx, Assembler asm) (package private) void
CommaExpression.codeStore
(Environment env, Context ctx, Assembler asm) (package private) void
Expression.codeStore
(Environment env, Context ctx, Assembler asm) (package private) void
FieldExpression.codeStore
(Environment env, Context ctx, Assembler asm) (package private) void
IdentifierExpression.codeStore
(Environment env, Context ctx, Assembler asm) void
AddExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
ArrayAccessExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
ArrayExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
AssignExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
AssignOpExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
BinaryBitExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
BinaryExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
BitNotExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
BooleanExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
CommaExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
ConditionalExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
ConvertExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
DoubleExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
Expression.codeValue
(Environment env, Context ctx, Assembler asm) void
FieldExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
FloatExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
IdentifierExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
InlineMethodExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
InlineNewInstanceExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
InstanceOfExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
IntegerExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
LengthExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
LongExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
MethodExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
NegativeExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
NewArrayExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
NewInstanceExpression.codeValue
(Environment env, Context ctx, Assembler asm) void
NotExpression.codeValue
(Environment env, Context ctx, Assembler asm) Instead of relying on the default code generation which uses conditional branching, generate a simpler stream using XOR.void
NullExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
PostDecExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
PostIncExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
PreDecExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
PreIncExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
StringExpression.codeValue
(Environment env, Context ctx, Assembler asm) Codevoid
ThisExpression.codeValue
(Environment env, Context ctx, Assembler asm) CodeNode.convert
(Environment env, Context ctx, Type t, Expression e) Implicit conversionsint
AddExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
ArrayAccessExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
AssignAddExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
AssignExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
AssignOpExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
BinaryAssignExpression.costInline
(int thresh, Environment env, Context ctx) int
BinaryExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
BreakStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
CaseStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
CastExpression.costInline
(int thresh, Environment env, Context ctx) int
CatchStatement.costInline
(int thresh, Environment env, Context ctx) Compute cost of inlining this statementint
CompoundStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
ConditionalExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
ContinueStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
DeclarationStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
DoStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
Expression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expression.int
ExpressionStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
FieldExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
FieldUpdater.costInline
(int thresh, Environment env, Context ctx, boolean needGet) int
FinallyStatement.costInline
(int thresh, Environment env, Context ctx) Compute cost of inlining this statementint
ForStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
IdentifierExpression.costInline
(int thresh, Environment env, Context ctx) int
IfStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
IncDecExpression.costInline
(int thresh, Environment env, Context ctx) int
InlineReturnStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
InstanceOfExpression.costInline
(int thresh, Environment env, Context ctx) int
MethodExpression.costInline
(int thresh, Environment env, Context ctx) int
NaryExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
NewInstanceExpression.costInline
(int thresh, Environment env, Context ctx) int
ReturnStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
Statement.costInline
(int thresh, Environment env, Context ctx) int
SwitchStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
SynchronizedStatement.costInline
(int thresh, Environment env, Context ctx) Compute cost of inlining this statementint
ThrowStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
TryStatement.costInline
(int thresh, Environment env, Context ctx) Compute cost of inlining this statementint
UnaryExpression.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this expressionint
VarDeclarationStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
WhileStatement.costInline
(int thresh, Environment env, Context ctx) The cost of inlining this statementint
Context.declare
(Environment env, LocalMember local) Declare local(package private) boolean
MethodExpression.diagnoseMismatch
(Environment env, Expression[] args, Type[] argTypes) We're about to report a "unmatched method" error.Statement.eliminate
(Environment env, Statement s) Eliminate this statement, which is only possible if it has no label.(package private) void
Expression.ensureString
(Environment env, Context ctx, Assembler asm) Convert this expression to a string.Context.findOuterLink
(Environment env, long where, ClassDefinition reqc, MemberDefinition f, boolean needExactMatch) Context.findOuterLink
(Environment env, long where, MemberDefinition f) Return a local expression which can serve as the base reference for the given field.Context.findScope
(Environment env, ClassDefinition reqc) From which enclosing class do members of this type come?void
FieldUpdater.finishAssign
(Environment env, Context ctx, Assembler asm, boolean valNeeded) void
FieldUpdater.finishUpdate
(Environment env, Context ctx, Assembler asm, boolean valNeeded) Complete a field update by an assignment, increment, or decrement operator.boolean
Expression.fitsType
(Environment env, Type t) Deprecated.(for backward compatibility)boolean
Expression.fitsType
(Environment env, Context ctx, Type t) See if this expression fits in the given type.boolean
IntegerExpression.fitsType
(Environment env, Context ctx, Type t) See if this number fits in the given type.private Vset
IdentifierExpression.get
(Environment env, Context ctx, Vset vset) Get the value of this identifier.Context.getApparentClassName
(Environment env, Identifier name) Return the name of a lexically apparent type, skipping inherited members, and ignoring the current pacakge and imports.final MemberDefinition
Context.getApparentField
(Environment env, Identifier name) Like getField, except that it skips over inherited fields.ArrayAccessExpression.getAssigner
(Environment env, Context ctx) An array access expression never requires the use of an access method to perform an assignment to an array element, though an access method may be required to fetch the array object itself.Expression.getAssigner
(Environment env, Context ctx) Return aFieldUpdater
object to be used in updating the value of the location denoted bythis
, which must be an expression suitable for the left-hand side of an assignment.FieldExpression.getAssigner
(Environment env, Context ctx) Return aFieldUpdater
object to be used in updating the value of the location denoted bythis
, which must be an expression suitable for the left-hand side of an assignment.IdentifierExpression.getAssigner
(Environment env, Context ctx) Return an accessor if one is needed for assignments to this expression.ThisExpression.getAssigner
(Environment env, Context ctx) private MemberDefinition
Context.getClassCommon
(Environment env, Identifier name, boolean apparentOnly) private static MemberDefinition
FieldExpression.getClassLiteralCache
(Environment env, Context ctx, String className, ClassDefinition c) final MemberDefinition
Context.getField
(Environment env, Identifier name) Get either a local variable, or a field in a current classprivate MemberDefinition
Context.getFieldCommon
(Environment env, Identifier name, boolean apparentOnly) final MemberDefinition
UplevelReference.getLocalField
(Environment env) Get the local field, creating one if necessary.ArrayAccessExpression.getUpdater
(Environment env, Context ctx) An array access expression never requires a field updater.Expression.getUpdater
(Environment env, Context ctx) Return aFieldUpdater
object to be used in updating the value of the location denoted bythis
, which must be an expression suitable for the left-hand side of an assignment.ExprExpression.getUpdater
(Environment env, Context ctx) Delegate to our subexpression.FieldExpression.getUpdater
(Environment env, Context ctx) Return aFieldUpdater
object to be used in updating the value of the location denoted bythis
, which must be an expression suitable for the left-hand side of an assignment.IdentifierExpression.getUpdater
(Environment env, Context ctx) Return an updater if one is needed for assignments to this expression.ThisExpression.getUpdater
(Environment env, Context ctx) LocalMember.getValue
(Environment env) Return valueprivate Expression
FieldExpression.implementFieldAccess
(Environment env, Context ctx, Expression base, boolean isLHS) Rewrite accesses to private fields of another class.ArrayAccessExpression.inline
(Environment env, Context ctx) InlineArrayExpression.inline
(Environment env, Context ctx) InlineBinaryAssignExpression.inline
(Environment env, Context ctx) InlineBinaryExpression.inline
(Environment env, Context ctx) InlineBinaryLogicalExpression.inline
(Environment env, Context ctx) InlineCastExpression.inline
(Environment env, Context ctx) InlineCatchStatement.inline
(Environment env, Context ctx) InlineCommaExpression.inline
(Environment env, Context ctx) InlineCompoundStatement.inline
(Environment env, Context ctx) InlineConditionalExpression.inline
(Environment env, Context ctx) InlineConvertExpression.inline
(Environment env, Context ctx) InlineDeclarationStatement.inline
(Environment env, Context ctx) InlineDivRemExpression.inline
(Environment env, Context ctx) InlineDoStatement.inline
(Environment env, Context ctx) InlineExpression.inline
(Environment env, Context ctx) Inline.ExpressionStatement.inline
(Environment env, Context ctx) InlineFieldExpression.inline
(Environment env, Context ctx) InlineFieldUpdater.inline
(Environment env, Context ctx) Since the object reference expression may be captured before it has been inlined, we must inline it later.FinallyStatement.inline
(Environment env, Context ctx) InlineForStatement.inline
(Environment env, Context ctx) InlineIdentifierExpression.inline
(Environment env, Context ctx) InlineIfStatement.inline
(Environment env, Context ctx) InlineIncDecExpression.inline
(Environment env, Context ctx) InlineInlineMethodExpression.inline
(Environment env, Context ctx) InlineInlineNewInstanceExpression.inline
(Environment env, Context ctx) InlineInlineReturnStatement.inline
(Environment env, Context ctx) InlineInstanceOfExpression.inline
(Environment env, Context ctx) InlineMethodExpression.inline
(Environment env, Context ctx) NewArrayExpression.inline
(Environment env, Context ctx) InlineNewInstanceExpression.inline
(Environment env, Context ctx) ReturnStatement.inline
(Environment env, Context ctx) InlineStatement.inline
(Environment env, Context ctx) InlineSwitchStatement.inline
(Environment env, Context ctx) InlineSynchronizedStatement.inline
(Environment env, Context ctx) InlineThrowStatement.inline
(Environment env, Context ctx) InlineTryStatement.inline
(Environment env, Context ctx) InlineTypeExpression.inline
(Environment env, Context ctx) UnaryExpression.inline
(Environment env, Context ctx) InlineVarDeclarationStatement.inline
(Environment env, Context ctx) InlineWhileStatement.inline
(Environment env, Context ctx) InlineArrayAccessExpression.inlineLHS
(Environment env, Context ctx) Expression.inlineLHS
(Environment env, Context ctx) FieldExpression.inlineLHS
(Environment env, Context ctx) IdentifierExpression.inlineLHS
(Environment env, Context ctx) private Expression
MethodExpression.inlineMethod
(Environment env, Context ctx, Statement s, boolean valNeeded) (package private) Expression
NewInstanceExpression.inlineNewInstance
(Environment env, Context ctx, Statement s) AddExpression.inlineValue
(Environment env, Context ctx) Inline the value of an AddExpression.ArrayAccessExpression.inlineValue
(Environment env, Context ctx) ArrayExpression.inlineValue
(Environment env, Context ctx) AssignExpression.inlineValue
(Environment env, Context ctx) InlineAssignOpExpression.inlineValue
(Environment env, Context ctx) InlineBinaryAssignExpression.inlineValue
(Environment env, Context ctx) BinaryExpression.inlineValue
(Environment env, Context ctx) CastExpression.inlineValue
(Environment env, Context ctx) CommaExpression.inlineValue
(Environment env, Context ctx) ConditionalExpression.inlineValue
(Environment env, Context ctx) Expression.inlineValue
(Environment env, Context ctx) FieldExpression.inlineValue
(Environment env, Context ctx) IdentifierExpression.inlineValue
(Environment env, Context ctx) IncDecExpression.inlineValue
(Environment env, Context ctx) InlineMethodExpression.inlineValue
(Environment env, Context ctx) InlineNewInstanceExpression.inlineValue
(Environment env, Context ctx) InstanceOfExpression.inlineValue
(Environment env, Context ctx) MethodExpression.inlineValue
(Environment env, Context ctx) NewArrayExpression.inlineValue
(Environment env, Context ctx) NewInstanceExpression.inlineValue
(Environment env, Context ctx) ThisExpression.inlineValue
(Environment env, Context ctx) InlineUnaryExpression.inlineValue
(Environment env, Context ctx) protected StringBuffer
AddExpression.inlineValueSB
(Environment env, Context ctx, StringBuffer buffer) Attempt to evaluate this expression.protected StringBuffer
Expression.inlineValueSB
(Environment env, Context ctx, StringBuffer buffer) Attempt to evaluate this expression.protected StringBuffer
ExprExpression.inlineValueSB
(Environment env, Context ctx, StringBuffer buffer) Delegate to our subexpression.static Expression[]
NewInstanceExpression.insertOuterLink
(Environment env, Context ctx, long where, ClassDefinition def, Expression outerArg, Expression[] args) Given a list of arguments for a constructor, return a possibly modified list which includes the hidden argument which initializes the uplevel self pointer.boolean
LocalMember.isInlineable
(Environment env, boolean fromFinal) Is this local variable's value stable and simple enough to be directly substituted for occurrences of the variable itself? (This decision is made by VarDeclarationStatement.inline().)(package private) static boolean
FieldExpression.isTypeAccessible
(long where, Environment env, Type t, ClassDefinition c) Determine if a type is accessible from a given class.boolean
UplevelReference.localArgumentAvailable
(Environment env, Context ctx) Tell if my local argument is directly available in this context.private Expression
FieldExpression.makeClassLiteralCacheRef
(Environment env, Context ctx, MemberDefinition lookup, MemberDefinition cfld, String className) private Expression
FieldExpression.makeClassLiteralInlineRef
(Environment env, Context ctx, MemberDefinition lookup, String className) UplevelReference.makeFieldReference
(Environment env, Context ctx) As with makeLocalReference(), build a locally-usable reference.private void
UplevelReference.makeLocalField
(Environment env) UplevelReference.makeLocalReference
(Environment env, Context ctx) Assuming noteReference() is all taken care of, build an uplevel reference.Context.makeReference
(Environment env, LocalMember target) Implement a reference (usually an uplevel one).private Expression
MethodExpression.makeVarInits
(Environment env, Context ctx) private static boolean
Context.match
(Environment env, ClassDefinition thisc, ClassDefinition reqc) static Environment
Context.newEnvironment
(Environment env, Context ctx) Extend an environment with the given context.Context.noteReference
(Environment env, LocalMember target) Notice a reference (usually an uplevel one).void
UplevelReference.noteReference
(Environment env, Context ctx) Process an uplevel reference.static boolean
Context.outerLinkExists
(Environment env, ClassDefinition reqc, ClassDefinition thisc) Is there a "this" of type reqc in scope?(package private) Vset
Statement.reach
(Environment env, Vset vset) (package private) static void
FieldExpression.reportFailedPackagePrefix
(Environment env, Expression right) If 'checkAmbiguousName' returns 'Package.tPackage', then it was unable to resolve any prefix of the qualified name.(package private) static void
FieldExpression.reportFailedPackagePrefix
(Environment env, Expression right, boolean mustBeType) (package private) Identifier
Context.resolveName
(Environment env, Identifier name) Resolve a type name from within a local scope.(package private) void
AddExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) final void
AssignOpExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) void
BinaryArithmeticExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) void
BinaryBitExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) void
BinaryCompareExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) void
BinaryEqualityExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) void
BinaryShiftExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) void
BitNotExpression.selectType
(Environment env, Context ctx, int tm) Select the type of the expression(package private) void
CommaExpression.selectType
(Environment env, Context ctx, int tm) Select the type(package private) void
ExprExpression.selectType
(Environment env, Context ctx, int tm) Select the type of the expression(package private) void
NegativeExpression.selectType
(Environment env, Context ctx, int tm) Select the type of the expression(package private) void
NotExpression.selectType
(Environment env, Context ctx, int tm) Select the type of the expression(package private) void
PositiveExpression.selectType
(Environment env, Context ctx, int tm) Select the type of the expression(package private) void
UnaryExpression.selectType
(Environment env, Context ctx, int tm) Select the type of the expressionvoid
Statement.setLabel
(Environment env, Expression e) Set the label of a statementvoid
FieldUpdater.startAssign
(Environment env, Context ctx, Assembler asm) Like above, but used when assigning a new value independent of the old, as in a simple assignment expression.void
FieldUpdater.startUpdate
(Environment env, Context ctx, Assembler asm, boolean valNeeded) Begin a field update by an assignment, increment, or decrement operator.private ClassDefinition
IdentifierExpression.toResolvedType
(Environment env, Context ctx, boolean pkgOK) Convert an identifier to a known type, or null.(package private) Type
ArrayAccessExpression.toType
(Environment env, Type t) (package private) Type
ArrayAccessExpression.toType
(Environment env, Context ctx) Convert to a type(package private) Type
Expression.toType
(Environment env, Context ctx) Convert an expresion to a type(package private) Type
FieldExpression.toType
(Environment env, Context ctx) Convert an '.' expression to a type(package private) Type
IdentifierExpression.toType
(Environment env, Context ctx) Convert an identifier to a type.(package private) Type
TypeExpression.toType
(Environment env, Context ctx) Convert to a typevoid
UplevelReference.willCodeArguments
(Environment env, Context ctx) During the inline phase, call this on a list of references for which the code phase will later emit arguments.Constructors in org.glassfish.rmic.tools.tree with parameters of type Environment