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 TypeClassDescriptionclassBatchEnvironment for rmic extends javac's version in four ways: 1. -
Uses of Environment in org.glassfish.rmic.asm
Methods in org.glassfish.rmic.asm with parameters of type EnvironmentModifier and TypeMethodDescriptionAsmMemberDefinition.getExceptions(Environment env) AsmMemberDefinition.getMemberValueString(Environment env) AsmClassFactory.loadDefinition(InputStream is, Environment env) -
Uses of Environment in org.glassfish.rmic.iiop
Subclasses of Environment in org.glassfish.rmic.iiopModifier and TypeClassDescriptionclassBatchEnvironment 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 TypeMethodDescriptionvoidAssembler.addNativeToJcovTab(Environment env, ClassDefinition c) voidAssembler.collect(Environment env, MemberDefinition field, ConstantPool tab) Collect all constants into the constant tablevoidAssembler.GenJCov(Environment env) voidAssembler.GenVecJCov(Environment env, ClassDefinition c, long Time) voidAssembler.optimize(Environment env) Optimize the byte codesvoidAssembler.write(Environment env, DataOutputStream out, MemberDefinition field, ConstantPool tab) Generate codevoidConstantPool.write(Environment env, DataOutputStream out) Write to outputvoidAssembler.writeCoverageTable(Environment env, ClassDefinition c, DataOutputStream out, ConstantPool tab, long whereField) Write the coverage tablevoidAssembler.writeLineNumberTable(Environment env, DataOutputStream out, ConstantPool tab) Write the linenumber tablevoidAssembler.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 TypeMethodDescriptionvoidBinaryMember.addAttribute(Identifier name, byte[] data, Environment env) protected voidBinaryClass.basicCheck(Environment env) Ready a BinaryClass for further checking.voidBinaryConstantPool.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 valueintBinaryConstantPool.indexObject(Object obj, Environment env) Find the index of an Object in the constant poolintBinaryConstantPool.indexString(String string, Environment env) Find the index of an ascii string in the constant pool.booleanBinaryMember.isInlineable(Environment env, boolean fromFinal) Inline allowed (currently only allowed for the constructor of Object).static BinaryClassBinaryClass.load(Environment env, DataInputStream in, int mask) BinaryClassFactory.loadDefinition(InputStream is, Environment env) voidBinaryClass.loadNested(Environment env) Called when an environment ties a binary definition to a declaration.voidBinaryClass.write(Environment env, OutputStream out) Write the class out to a given stream.voidBinaryConstantPool.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
Fields in org.glassfish.rmic.tools.java declared as EnvironmentMethods 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 TypeMethodDescriptionvoidClassDefinition.addMember(Environment env, MemberDefinition field) Add a field (subclasses make checks)protected voidClassDefinition.addMirandaMethods(Environment env, Iterator<MemberDefinition> mirandas) Add a list of methods to this class as miranda methods.protected voidClassDefinition.basicCheck(Environment env) booleanClassDefinition.canAccess(Environment env, ClassDeclaration c) Check if another class can be accessed from within the body of this class.booleanClassDefinition.canAccess(Environment env, MemberDefinition f) Check if a field can be accessed from a classfinal booleanMemberDefinition.canReach(Environment env, MemberDefinition f) Check if a field can reach another field (only considers forward references, not the access modifiers).voidClassDefinition.check(Environment env) Check this class.voidMemberDefinition.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) booleanMemberDefinition.checkMeet(Environment env, MemberDefinition method, ClassDeclaration clazz) Check to see if two method definitions are compatible, that is do they have a `meet'.booleanMemberDefinition.checkOverride(Environment env, MemberDefinition method) Check to see if `this' can override/hide `method'.voidClassDefinition.cleanup(Environment env) After the class has been written to disk, try to free up some storage.voidMemberDefinition.cleanup(Environment env) voidMemberDefinition.code(Environment env, Assembler asm) Generate codevoidMemberDefinition.codeInit(Environment env, Context ctx, Assembler asm) protected voidClassDefinition.collectInheritedMethods(Environment env) Collect all methods defined in this class or inherited from any of our superclasses or interfaces.booleanMemberDefinition.couldOverride(Environment env, MemberDefinition method) This method is meant to be used to determine if one of two inherited methods could override the other.intClassDefinition.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.protected booleanClassDefinition.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.booleanClassDefinition.implementedBy(Environment env, ClassDeclaration c) Check if this class is implemented by another classstatic booleanImports.importable(Identifier id, Environment env) Check to see if 'id' names an importable class in `env'.voidClassDefinition.inlineLocalClass(Environment env) booleanMemberDefinition.isInlineable(Environment env, boolean fromFinal) ClassDefinitionFactory.loadDefinition(InputStream is, Environment env) voidClassDefinition.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 MemberDefinitionMemberDefinition.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.final booleanClassDefinition.mustBeAbstract(Environment env) Check to see if a class must be abstract.Imports.newEnvironment(Environment env) Extend an environment with my resolve() method.voidClassDefinition.noteUsedBy(ClassDefinition ref, long where, Environment env) Note that this class is being used somehow byref.booleanClassDefinition.permitInlinedAccess(Environment env, ClassDeclaration c) Check if a class is entitled to inline access to a class from another class.booleanClassDefinition.permitInlinedAccess(Environment env, MemberDefinition f) Check if a class is entitled to inline access to a method from another class.booleanClassDefinition.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).booleanClassDefinition.reportDeprecated(Environment env) Tells whether to report a deprecation error for this class.booleanMemberDefinition.reportDeprecated(Environment env) Tells whether to report a deprecation error for this field.voidImports.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.voidClassDefinition.resolveTypeStructure(Environment env) We create a stub for this.voidMemberDefinition.resolveTypeStructure(Environment env) A stub.booleanClassDefinition.subClassOf(Environment env, ClassDeclaration otherClass) Check if this is a sub class of another classbooleanClassDefinition.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) Imports(Environment env) Constructor, always import java.lang.protectedParser(Environment env, InputStream in) Create a parserprotectedScanner(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 TypeClassDescriptionclassMain 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 EnvironmentBatchParser.toplevelEnvDeprecated.The toplevel environmentMethods 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 TypeMethodDescriptionvoidSourceClass.addMember(Environment env, MemberDefinition f) Deprecated.Add a field (check it first)protected voidSourceClass.addMirandaMethods(Environment env, Iterator<MemberDefinition> mirandas) Deprecated.Add a group of methods to this class as miranda methods.protected voidSourceClass.basicCheck(Environment env) Deprecated.voidSourceClass.check(Environment env) Deprecated.Check this class and all its fields.voidSourceMember.check(Environment env) Deprecated.Check this field.SourceMember.check(Environment env, Context ctx, Vset vset) Deprecated.Check a field.SourceClass.checkInsideClass(Environment env, Context ctx, Vset vset) Deprecated.Check a class which is inside a local class, but is not itself local.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.voidSourceClass.checkSourceFile(Environment env, long where) Deprecated.See if the source file of this class is of the right name.voidSourceMember.code(Environment env, Assembler asm) Deprecated.Generate codevoidSourceMember.codeInit(Environment env, Context ctx, Assembler asm) Deprecated.protected voidSourceClass.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.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)voidSourceClass.inlineLocalClass(Environment env) Deprecated.As with checkLocalClass, run the inline phase for a local class.booleanSourceMember.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.voidSourceClass.noteUsedBy(ClassDefinition ref, long where, Environment env) Deprecated.See if the source file of this class is right.voidSourceClass.printClassDependencies(Environment env) Deprecated.Print out the dependencies for this class (-xdepend) optionbooleanSourceClass.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.booleanSourceMember.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.protected voidSourceClass.resolveSupers(Environment env) Deprecated.voidSourceClass.resolveTypeStructure(Environment env) Deprecated.voidSourceMember.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
Methods in org.glassfish.rmic.tools.tree that return EnvironmentModifier and TypeMethodDescriptionstatic EnvironmentContext.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 TypeMethodDescriptionbooleanContext.canReach(Environment env, MemberDefinition f) Check if a field can reach another field (only considers forward references, not the access modifiers).Check void expressionCheck void expressionCheck void expressionCheck void expressionCheck void expressionArrayAccessExpression.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= expressionvoidContext.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.voidAndExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, org.glassfish.rmic.tools.tree.ConditionVars cvars) abstract voidBinaryLogicalExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, org.glassfish.rmic.tools.tree.ConditionVars cvars) voidBooleanExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, org.glassfish.rmic.tools.tree.ConditionVars cvars) org.glassfish.rmic.tools.tree.ConditionVarsExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) Check a condition.voidExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, org.glassfish.rmic.tools.tree.ConditionVars cvars) voidExprExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, org.glassfish.rmic.tools.tree.ConditionVars cvars) Check a condition.voidNotExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, org.glassfish.rmic.tools.tree.ConditionVars cvars) voidOrExpression.checkCondition(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp, org.glassfish.rmic.tools.tree.ConditionVars cvars) static VsetFieldExpression.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) protected voidStatement.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 expressionvoidAssignExpression.code(Environment env, Context ctx, Assembler asm) voidAssignOpExpression.code(Environment env, Context ctx, Assembler asm) voidBreakStatement.code(Environment env, Context ctx, Assembler asm) CodevoidCatchStatement.code(Environment env, Context ctx, Assembler asm) CodevoidCommaExpression.code(Environment env, Context ctx, Assembler asm) voidCompoundStatement.code(Environment env, Context ctx, Assembler asm) CodevoidConditionalExpression.code(Environment env, Context ctx, Assembler asm) voidContinueStatement.code(Environment env, Context ctx, Assembler asm) CodevoidDeclarationStatement.code(Environment env, Context ctx, Assembler asm) CodevoidDoStatement.code(Environment env, Context ctx, Assembler asm) CodevoidExpression.code(Environment env, Context ctx, Assembler asm) voidExpressionStatement.code(Environment env, Context ctx, Assembler asm) CodevoidFinallyStatement.code(Environment env, Context ctx, Assembler asm) CodevoidForStatement.code(Environment env, Context ctx, Assembler asm) CodevoidIfStatement.code(Environment env, Context ctx, Assembler asm) CodevoidInlineMethodExpression.code(Environment env, Context ctx, Assembler asm) CodevoidInlineNewInstanceExpression.code(Environment env, Context ctx, Assembler asm) CodevoidInlineReturnStatement.code(Environment env, Context ctx, Assembler asm) CodevoidInstanceOfExpression.code(Environment env, Context ctx, Assembler asm) voidNewInstanceExpression.code(Environment env, Context ctx, Assembler asm) CodevoidPostDecExpression.code(Environment env, Context ctx, Assembler asm) voidPostIncExpression.code(Environment env, Context ctx, Assembler asm) voidPreDecExpression.code(Environment env, Context ctx, Assembler asm) voidPreIncExpression.code(Environment env, Context ctx, Assembler asm) voidReturnStatement.code(Environment env, Context ctx, Assembler asm) CodevoidStatement.code(Environment env, Context ctx, Assembler asm) CodevoidSwitchStatement.code(Environment env, Context ctx, Assembler asm) CodevoidSynchronizedStatement.code(Environment env, Context ctx, Assembler asm) CodevoidThrowStatement.code(Environment env, Context ctx, Assembler asm) CodevoidTryStatement.code(Environment env, Context ctx, Assembler asm) CodevoidVarDeclarationStatement.code(Environment env, Context ctx, Assembler asm) CodevoidWhileStatement.code(Environment env, Context ctx, Assembler asm) CodevoidUplevelReference.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.voidUplevelReference.codeInitialization(Environment env, Context ctx, Assembler asm, long where, MemberDefinition conField) Code is being generated for a constructor of the client class.voidAddExpression.codeValue(Environment env, Context ctx, Assembler asm) voidArrayAccessExpression.codeValue(Environment env, Context ctx, Assembler asm) voidArrayExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidAssignExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidAssignOpExpression.codeValue(Environment env, Context ctx, Assembler asm) voidBinaryBitExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidBinaryExpression.codeValue(Environment env, Context ctx, Assembler asm) voidBitNotExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidBooleanExpression.codeValue(Environment env, Context ctx, Assembler asm) voidCommaExpression.codeValue(Environment env, Context ctx, Assembler asm) voidConditionalExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidConvertExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidDoubleExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidExpression.codeValue(Environment env, Context ctx, Assembler asm) voidFieldExpression.codeValue(Environment env, Context ctx, Assembler asm) voidFloatExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidIdentifierExpression.codeValue(Environment env, Context ctx, Assembler asm) voidInlineMethodExpression.codeValue(Environment env, Context ctx, Assembler asm) voidInlineNewInstanceExpression.codeValue(Environment env, Context ctx, Assembler asm) voidInstanceOfExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidIntegerExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidLengthExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidLongExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidMethodExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidNegativeExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidNewArrayExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidNewInstanceExpression.codeValue(Environment env, Context ctx, Assembler asm) voidNotExpression.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.voidNullExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidPostDecExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidPostIncExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidPreDecExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidPreIncExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidStringExpression.codeValue(Environment env, Context ctx, Assembler asm) CodevoidThisExpression.codeValue(Environment env, Context ctx, Assembler asm) CodeNode.convert(Environment env, Context ctx, Type t, Expression e) Implicit conversionsintAddExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintArrayAccessExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintAssignAddExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintAssignExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintAssignOpExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintBinaryAssignExpression.costInline(int thresh, Environment env, Context ctx) intBinaryExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintBreakStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintCaseStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintCastExpression.costInline(int thresh, Environment env, Context ctx) intCatchStatement.costInline(int thresh, Environment env, Context ctx) Compute cost of inlining this statementintCompoundStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintConditionalExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintContinueStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintDeclarationStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintDoStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expression.intExpressionStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintFieldExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintFinallyStatement.costInline(int thresh, Environment env, Context ctx) Compute cost of inlining this statementintForStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintIdentifierExpression.costInline(int thresh, Environment env, Context ctx) intIfStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintIncDecExpression.costInline(int thresh, Environment env, Context ctx) intInlineReturnStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintInstanceOfExpression.costInline(int thresh, Environment env, Context ctx) intMethodExpression.costInline(int thresh, Environment env, Context ctx) intNaryExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintNewInstanceExpression.costInline(int thresh, Environment env, Context ctx) intReturnStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintStatement.costInline(int thresh, Environment env, Context ctx) intSwitchStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintSynchronizedStatement.costInline(int thresh, Environment env, Context ctx) Compute cost of inlining this statementintThrowStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintTryStatement.costInline(int thresh, Environment env, Context ctx) Compute cost of inlining this statementintUnaryExpression.costInline(int thresh, Environment env, Context ctx) The cost of inlining this expressionintVarDeclarationStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintWhileStatement.costInline(int thresh, Environment env, Context ctx) The cost of inlining this statementintContext.declare(Environment env, LocalMember local) Declare localStatement.eliminate(Environment env, Statement s) Eliminate this statement, which is only possible if it has no label.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?booleanExpression.fitsType(Environment env, Type t) Deprecated.(for backward compatibility)booleanExpression.fitsType(Environment env, Context ctx, Type t) See if this expression fits in the given type.booleanIntegerExpression.fitsType(Environment env, Context ctx, Type t) See if this number fits in the given type.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 MemberDefinitionContext.getApparentField(Environment env, Identifier name) Like getField, except that it skips over inherited fields.org.glassfish.rmic.tools.tree.FieldUpdaterArrayAccessExpression.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.org.glassfish.rmic.tools.tree.FieldUpdaterExpression.getAssigner(Environment env, Context ctx) Return aFieldUpdaterobject 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.org.glassfish.rmic.tools.tree.FieldUpdaterFieldExpression.getAssigner(Environment env, Context ctx) Return aFieldUpdaterobject 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.org.glassfish.rmic.tools.tree.FieldUpdaterIdentifierExpression.getAssigner(Environment env, Context ctx) Return an accessor if one is needed for assignments to this expression.org.glassfish.rmic.tools.tree.FieldUpdaterThisExpression.getAssigner(Environment env, Context ctx) final MemberDefinitionContext.getField(Environment env, Identifier name) Get either a local variable, or a field in a current classfinal MemberDefinitionUplevelReference.getLocalField(Environment env) Get the local field, creating one if necessary.org.glassfish.rmic.tools.tree.FieldUpdaterArrayAccessExpression.getUpdater(Environment env, Context ctx) An array access expression never requires a field updater.org.glassfish.rmic.tools.tree.FieldUpdaterExpression.getUpdater(Environment env, Context ctx) Return aFieldUpdaterobject 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.org.glassfish.rmic.tools.tree.FieldUpdaterExprExpression.getUpdater(Environment env, Context ctx) Delegate to our subexpression.org.glassfish.rmic.tools.tree.FieldUpdaterFieldExpression.getUpdater(Environment env, Context ctx) Return aFieldUpdaterobject 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.org.glassfish.rmic.tools.tree.FieldUpdaterIdentifierExpression.getUpdater(Environment env, Context ctx) Return an updater if one is needed for assignments to this expression.org.glassfish.rmic.tools.tree.FieldUpdaterThisExpression.getUpdater(Environment env, Context ctx) LocalMember.getValue(Environment env) Return valueArrayAccessExpression.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) InlineFinallyStatement.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) 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 StringBufferAddExpression.inlineValueSB(Environment env, Context ctx, StringBuffer buffer) Attempt to evaluate this expression.protected StringBufferExpression.inlineValueSB(Environment env, Context ctx, StringBuffer buffer) Attempt to evaluate this expression.protected StringBufferExprExpression.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.booleanLocalMember.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?booleanUplevelReference.localArgumentAvailable(Environment env, Context ctx) Tell if my local argument is directly available in this context.UplevelReference.makeFieldReference(Environment env, Context ctx) As with makeLocalReference(), build a locally-usable reference.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).static EnvironmentContext.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).voidUplevelReference.noteReference(Environment env, Context ctx) Process an uplevel reference.static booleanContext.outerLinkExists(Environment env, ClassDefinition reqc, ClassDefinition thisc) Is there a "this" of type reqc in scope?voidStatement.setLabel(Environment env, Expression e) Set the label of a statementvoidUplevelReference.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.