| Modifier and Type | Method and Description |
|---|---|
ClassDeclaration[] |
AsmMemberDefinition.getExceptions(Environment env) |
String |
AsmMemberDefinition.getMemberValueString(Environment env) |
ClassDefinition |
AsmClassFactory.loadDefinition(InputStream is,
Environment env) |
| Modifier and Type | Method and Description |
|---|---|
void |
Assembler.addNativeToJcovTab(Environment env,
ClassDefinition c) |
void |
Assembler.collect(Environment env,
MemberDefinition field,
ConstantPool tab)
Collect all constants into the constant table
|
void |
Assembler.GenJCov(Environment env) |
void |
Assembler.GenVecJCov(Environment env,
ClassDefinition c,
long Time) |
void |
Assembler.optimize(Environment env)
Optimize the byte codes
|
void |
ConstantPool.write(Environment env,
DataOutputStream out)
Write to output
|
void |
Assembler.write(Environment env,
DataOutputStream out,
MemberDefinition field,
ConstantPool tab)
Generate code
|
void |
Assembler.writeCoverageTable(Environment env,
ClassDefinition c,
DataOutputStream out,
ConstantPool tab,
long whereField)
Write the coverage table
|
void |
Assembler.writeLineNumberTable(Environment env,
DataOutputStream out,
ConstantPool tab)
Write the linenumber table
|
void |
Assembler.writeLocalVariableTable(Environment env,
MemberDefinition field,
DataOutputStream out,
ConstantPool tab)
Write the local variable table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
Object |
BinaryConstantPool.getConstant(int n,
Environment env)
get the n-th constant from the constant pool
|
ClassDeclaration |
BinaryConstantPool.getDeclaration(Environment env,
int n)
get class declaration
|
ClassDeclaration |
BinaryConstantPool.getDeclarationFromName(Environment env,
int n)
get class declaration
|
Vector<ClassDeclaration> |
BinaryConstantPool.getDependencies(Environment env)
Get a list of dependencies, ie: all the classes referenced in this
constant pool.
|
ClassDeclaration[] |
BinaryMember.getExceptions(Environment env)
Get exceptions
|
String |
BinaryMember.getMemberValueString(Environment env) |
Node |
BinaryMember.getValue(Environment env)
Get the value
|
int |
BinaryConstantPool.indexObject(Object obj,
Environment env)
Find the index of an Object in the constant pool
|
int |
BinaryConstantPool.indexString(String string,
Environment env)
Find the index of an ascii string in the constant pool.
|
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) |
ClassDefinition |
BinaryClassFactory.loadDefinition(InputStream is,
Environment env) |
void |
BinaryClass.loadNested(Environment env)
Called when an environment ties a binary definition to a declaration.
|
void |
BinaryConstantPool.write(DataOutputStream out,
Environment env)
Write out the contents of the constant pool, including any additions
that have been added.
|
void |
BinaryClass.write(Environment env,
OutputStream out)
Write the class out to a given stream.
|
| Modifier and Type | Field and Description |
|---|---|
Environment |
Scanner.env
Where errors are reported
|
| Modifier and Type | Method and Description |
|---|---|
Environment |
Imports.newEnvironment(Environment env)
Extend an environment with my resolve() method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
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 class
|
boolean |
MemberDefinition.canReach(Environment env,
MemberDefinition f)
Check if a field can reach another field (only considers
forward references, not the access modifiers).
|
void |
MemberDefinition.check(Environment env)
Request a check of the field definition.
|
void |
ClassDefinition.check(Environment env)
Check this class.
|
Vset |
MemberDefinition.check(Environment env,
Context ctx,
Vset vset)
Really check the field definition.
|
Vset |
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'.
|
void |
MemberDefinition.cleanup(Environment env) |
void |
ClassDefinition.cleanup(Environment env)
After the class has been written to disk, try to free up
some storage.
|
void |
MemberDefinition.code(Environment env,
Assembler asm)
Generate code
|
void |
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.
|
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.
|
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.
|
protected boolean |
ClassDefinition.extendsCanAccess(Environment env,
ClassDeclaration c)
Check if another class can be accessed from the 'extends' or 'implements'
clause of this class.
|
MemberDefinition |
ClassDefinition.findAnyMethod(Environment env,
Identifier nm)
Find any method with a given name.
|
MemberDefinition |
ClassDefinition.findMethod(Environment env,
Identifier nm,
Type t)
Find a method, ie: exact match in this class or any of the super
classes.
|
Identifier |
Imports.forceResolve(Environment env,
Identifier nm)
Suppose a resolve() call has failed.
|
MemberDefinition |
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.
|
ClassDefinition |
ClassDeclaration.getClassDefinition(Environment env)
Get the definition of this class, if the class is not
yet defined, load the definition.
|
ClassDefinition |
ClassDeclaration.getClassDefinitionNoCheck(Environment env)
Get the definition of this class, if the class is not
yet defined, load the definition.
|
ClassDeclaration[] |
MemberDefinition.getExceptions(Environment env)
Get the exceptions that are thrown by this method.
|
MemberDefinition |
ClassDefinition.getInnerClass(Environment env,
Identifier nm)
Get an inner class.
|
String |
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.
|
ClassDeclaration |
ClassDefinition.getSuperClass(Environment env)
Get the super class, and resolve names now if necessary.
|
MemberDefinition |
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.
|
Node |
MemberDefinition.getValue(Environment env)
Get the field's final value (may return null)
|
MemberDefinition |
ClassDefinition.getVariable(Environment env,
Identifier nm,
ClassDefinition source)
Get a field from this class.
|
boolean |
ClassDefinition.implementedBy(Environment env,
ClassDeclaration c)
Check if this class is implemented by another class
|
static 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) |
ClassDefinition |
ClassDefinitionFactory.loadDefinition(InputStream is,
Environment env) |
void |
ClassDefinition.loadNested(Environment env) |
ClassDefinition |
Environment.makeClassDefinition(Environment origEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
MemberDefinition |
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'.
|
MemberDefinition |
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.
|
MemberDefinition |
ClassDefinition.matchMethod(Environment env,
ClassDefinition accessor,
Identifier methodName)
Lookup a method.
|
MemberDefinition |
ClassDefinition.matchMethod(Environment env,
ClassDefinition accessor,
Identifier methodName,
Type[] argumentTypes)
Lookup a method.
|
boolean |
ClassDefinition.mustBeAbstract(Environment env)
Check to see if a class must be abstract.
|
Environment |
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 by
ref. |
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 |
MemberDefinition.reportDeprecated(Environment env)
Tells whether to report a deprecation error for this field.
|
boolean |
ClassDefinition.reportDeprecated(Environment env)
Tells whether to report a deprecation error for this class.
|
void |
Imports.resolve(Environment env)
Check the names of the imports.
|
Identifier |
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.
|
Identifier |
ClassDefinition.resolveInnerClass(Environment env,
Identifier nm)
Interpret a qualified class name, which may have further subcomponents..
|
Identifier |
ClassDefinition.resolveName(Environment env,
Identifier name)
Look up an inner class name, from somewhere inside this class.
|
void |
MemberDefinition.resolveTypeStructure(Environment env)
A stub.
|
void |
ClassDefinition.resolveTypeStructure(Environment env)
We create a stub for this.
|
boolean |
ClassDefinition.subClassOf(Environment env,
ClassDeclaration otherClass)
Check if this is a sub class of another class
|
boolean |
ClassDefinition.superClassOf(Environment env,
ClassDeclaration otherClass)
Check if this is a super class of another class
|
| Constructor and Description |
|---|
Environment(Environment env,
Object source) |
Imports(Environment env)
Constructor, always import java.lang.
|
Parser(Environment env,
InputStream in)
Create a parser
|
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
BatchEnvironment
Main environment of the batch version of the Java compiler,
this needs more work.
|
| Modifier and Type | Field and Description |
|---|---|
protected Environment |
BatchParser.toplevelEnv
Deprecated.
The toplevel environment
|
| Modifier and Type | Method and Description |
|---|---|
Environment |
SourceClass.setupEnv(Environment env)
Deprecated.
Create an environment suitable for checking this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
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 |
SourceMember.check(Environment env)
Deprecated.
Check this field.
|
void |
SourceClass.check(Environment env)
Deprecated.
Check this class and all its fields.
|
Vset |
SourceMember.check(Environment env,
Context ctx,
Vset vset)
Deprecated.
Check a field.
|
Vset |
SourceClass.checkInsideClass(Environment env,
Context ctx,
Vset vset)
Deprecated.
Check a class which is inside a local class, but is not itself local.
|
Vset |
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.
|
void |
SourceClass.checkSourceFile(Environment env,
long where)
Deprecated.
See if the source file of this class is of the right name.
|
void |
SourceMember.code(Environment env,
Assembler asm)
Deprecated.
Generate code
|
void |
SourceMember.codeInit(Environment env,
Context ctx,
Assembler asm)
Deprecated.
|
protected void |
SourceClass.compileClass(Environment env,
OutputStream out)
Deprecated.
|
MemberDefinition |
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.
|
ClassDeclaration[] |
SourceMember.getExceptions(Environment env)
Deprecated.
Get exceptions
|
ClassDeclaration |
SourceClass.getSuperClass(Environment env)
Deprecated.
Overrides 'ClassDefinition.getSuperClass'.
|
MemberDefinition |
SourceClass.getUpdateMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Deprecated.
|
Node |
SourceMember.getValue(Environment env)
Deprecated.
Get the value of the field (or null if the value can't be determined)
|
void |
SourceClass.inlineLocalClass(Environment env)
Deprecated.
As with checkLocalClass, run the inline phase for a local class.
|
boolean |
SourceMember.isInlineable(Environment env,
boolean fromFinal)
Deprecated.
|
ClassDefinition |
BatchEnvironment.makeClassDefinition(Environment toplevelEnv,
long where,
IdentifierToken name,
String doc,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
ClassDefinition outerClass)
Create a new class.
|
MemberDefinition |
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.
|
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) option
|
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.
|
boolean |
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.
|
protected void |
SourceClass.resolveSupers(Environment env)
Deprecated.
|
void |
SourceMember.resolveTypeStructure(Environment env)
Deprecated.
|
void |
SourceClass.resolveTypeStructure(Environment env)
Deprecated.
|
Environment |
SourceClass.setupEnv(Environment env)
Deprecated.
Create an environment suitable for checking this class.
|
| Constructor and Description |
|---|
BatchParser(Environment env,
InputStream in)
Deprecated.
Create a batch file parser
|
SourceClass(Environment env,
long where,
ClassDeclaration declaration,
String documentation,
int modifiers,
IdentifierToken superClass,
IdentifierToken[] interfaces,
SourceClass outerClass,
Identifier localName)
Deprecated.
Constructor
|
SourceMember(MemberDefinition f,
ClassDefinition c,
Environment env)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Environment |
Context.newEnvironment(Environment env,
Context ctx)
Extend an environment with the given context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Context.canReach(Environment env,
MemberDefinition f)
Check if a field can reach another field (only considers
forward references, not the access modifiers).
|
Vset |
NewInstanceExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check void expression
|
Vset |
MethodExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check void expression
|
Vset |
IncDecExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check void expression
|
Vset |
Expression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp) |
Vset |
ConditionalExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp) |
Vset |
CommaExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check void expression
|
Vset |
BinaryAssignExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check void expression
|
Vset |
TypeExpression.checkAmbigName(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
UnaryExpression loc) |
Vset |
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.
|
Vset |
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.
|
Vset |
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.
|
Vset |
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).
|
Vset |
ArrayAccessExpression.checkAmbigName(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
UnaryExpression loc) |
Vset |
IdentifierExpression.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= expression
|
Vset |
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= expression
|
Vset |
Expression.checkAssignOp(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
Expression outside) |
Vset |
ExprExpression.checkAssignOp(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
Expression outside)
Check the expression if it appears as an lvalue.
|
Vset |
ArrayAccessExpression.checkAssignOp(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
Expression outside) |
void |
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.
|
org.glassfish.rmic.tools.tree.ConditionVars |
Expression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a condition.
|
void |
OrExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars) |
void |
NotExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars) |
void |
Expression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars) |
void |
ExprExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars)
Check a condition.
|
void |
BooleanExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars) |
abstract void |
BinaryLogicalExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars) |
void |
AndExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars) |
static 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.
|
Vset |
Expression.checkInitializer(Environment env,
Context ctx,
Vset vset,
Type t,
Hashtable<Object,Object> exp) |
Vset |
ArrayExpression.checkInitializer(Environment env,
Context ctx,
Vset vset,
Type t,
Hashtable<Object,Object> exp) |
protected void |
Statement.checkLabel(Environment env,
Context ctx)
Make sure the labels on this statement do not duplicate the
labels on any enclosing statement.
|
Vset |
IdentifierExpression.checkLHS(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression if it appears on the LHS of an assignment
|
Vset |
FieldExpression.checkLHS(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression if it appears on the LHS of an assignment
|
Vset |
Expression.checkLHS(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp) |
Vset |
ArrayAccessExpression.checkLHS(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp) |
Vset |
Statement.checkMethod(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a statement
|
Vset |
UnaryExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a unary expression
|
Vset |
TypeExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an expression
|
Vset |
ThisExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression
|
Vset |
SuperExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression
|
Vset |
NewInstanceExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
Vset |
NewArrayExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check
|
Vset |
MethodExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
Vset |
LengthExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Select the type of the expression
|
Vset |
InstanceOfExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression
|
Vset |
IncDecExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an increment or decrement expression
|
Vset |
IdentifierExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression
|
Vset |
FieldExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression
|
Vset |
Expression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an expression
|
Vset |
ConvertExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the value
|
Vset |
ConditionalExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression
|
Vset |
CastExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression
|
Vset |
BinaryLogicalExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a binary expression
|
Vset |
BinaryExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a binary expression
|
Vset |
AssignOpExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an assignment expression
|
Vset |
AssignExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an assignment expression
|
Vset |
ArrayExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
Vset |
ArrayAccessExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
void |
WhileStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
VarDeclarationStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
TryStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ThrowStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
SynchronizedStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
SwitchStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
Statement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ReturnStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PreIncExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
PreDecExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
PostIncExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
PostDecExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
NewInstanceExpression.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InstanceOfExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
InlineReturnStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InlineNewInstanceExpression.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InlineMethodExpression.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
IfStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ForStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
FinallyStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ExpressionStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
Expression.code(Environment env,
Context ctx,
Assembler asm) |
void |
DoStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
DeclarationStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ContinueStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ConditionalExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
CompoundStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
CommaExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
CatchStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
BreakStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
AssignOpExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
AssignExpression.code(Environment env,
Context ctx,
Assembler asm) |
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.
|
void |
UplevelReference.codeInitialization(Environment env,
Context ctx,
Assembler asm,
long where,
MemberDefinition conField)
Code is being generated for a constructor of the client class.
|
void |
ThisExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
StringExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PreIncExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PreDecExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PostIncExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PostDecExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
NullExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
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 |
NewInstanceExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
NewArrayExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
NegativeExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
MethodExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
LongExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
LengthExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
IntegerExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InstanceOfExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InlineNewInstanceExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
InlineMethodExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
IdentifierExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
FloatExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
FieldExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
Expression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
DoubleExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ConvertExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ConditionalExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
CommaExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
BooleanExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
BitNotExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
BinaryExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
BinaryBitExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
AssignOpExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
AssignExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ArrayExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ArrayAccessExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
AddExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
Expression |
Node.convert(Environment env,
Context ctx,
Type t,
Expression e)
Implicit conversions
|
int |
WhileStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
VarDeclarationStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
UnaryExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
TryStatement.costInline(int thresh,
Environment env,
Context ctx)
Compute cost of inlining this statement
|
int |
ThrowStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
SynchronizedStatement.costInline(int thresh,
Environment env,
Context ctx)
Compute cost of inlining this statement
|
int |
SwitchStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
Statement.costInline(int thresh,
Environment env,
Context ctx) |
int |
ReturnStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
NewInstanceExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
NaryExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
MethodExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
InstanceOfExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
InlineReturnStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
IncDecExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
IfStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
IdentifierExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
ForStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
FinallyStatement.costInline(int thresh,
Environment env,
Context ctx)
Compute cost of inlining this statement
|
int |
FieldExpression.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 statement
|
int |
Expression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression.
|
int |
DoStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
DeclarationStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
ContinueStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
ConditionalExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
CompoundStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
CatchStatement.costInline(int thresh,
Environment env,
Context ctx)
Compute cost of inlining this statement
|
int |
CastExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
CaseStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
BreakStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
BinaryExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
BinaryAssignExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
AssignOpExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
AssignExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
AssignAddExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
ArrayAccessExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
AddExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
Context.declare(Environment env,
LocalMember local)
Declare local
|
Statement |
Statement.eliminate(Environment env,
Statement s)
Eliminate this statement, which is only possible if it has no label.
|
Expression |
Context.findOuterLink(Environment env,
long where,
ClassDefinition reqc,
MemberDefinition f,
boolean needExactMatch) |
Expression |
Context.findOuterLink(Environment env,
long where,
MemberDefinition f)
Return a local expression which can serve as the base reference
for the given field.
|
ClassDefinition |
Context.findScope(Environment env,
ClassDefinition reqc)
From which enclosing class do members of this type come?
|
boolean |
IntegerExpression.fitsType(Environment env,
Context ctx,
Type t)
See if this number fits in the given type.
|
boolean |
Expression.fitsType(Environment env,
Context ctx,
Type t)
See if this expression fits in the given type.
|
boolean |
Expression.fitsType(Environment env,
Type t)
Deprecated.
(for backward compatibility)
|
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.
|
MemberDefinition |
Context.getApparentField(Environment env,
Identifier name)
Like getField, except that it skips over inherited fields.
|
org.glassfish.rmic.tools.tree.FieldUpdater |
ThisExpression.getAssigner(Environment env,
Context ctx) |
org.glassfish.rmic.tools.tree.FieldUpdater |
IdentifierExpression.getAssigner(Environment env,
Context ctx)
Return an accessor if one is needed for assignments to this expression.
|
org.glassfish.rmic.tools.tree.FieldUpdater |
FieldExpression.getAssigner(Environment env,
Context ctx)
Return a
FieldUpdater object to be used in updating the
value of the location denoted by this, which must be an
expression suitable for the left-hand side of an assignment. |
org.glassfish.rmic.tools.tree.FieldUpdater |
Expression.getAssigner(Environment env,
Context ctx)
Return a
FieldUpdater object to be used in updating the
value of the location denoted by this, which must be an
expression suitable for the left-hand side of an assignment. |
org.glassfish.rmic.tools.tree.FieldUpdater |
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.
|
MemberDefinition |
Context.getField(Environment env,
Identifier name)
Get either a local variable, or a field in a current class
|
MemberDefinition |
UplevelReference.getLocalField(Environment env)
Get the local field, creating one if necessary.
|
org.glassfish.rmic.tools.tree.FieldUpdater |
ThisExpression.getUpdater(Environment env,
Context ctx) |
org.glassfish.rmic.tools.tree.FieldUpdater |
IdentifierExpression.getUpdater(Environment env,
Context ctx)
Return an updater if one is needed for assignments to this expression.
|
org.glassfish.rmic.tools.tree.FieldUpdater |
FieldExpression.getUpdater(Environment env,
Context ctx)
Return a
FieldUpdater object to be used in updating the
value of the location denoted by this, which must be an
expression suitable for the left-hand side of an assignment. |
org.glassfish.rmic.tools.tree.FieldUpdater |
Expression.getUpdater(Environment env,
Context ctx)
Return a
FieldUpdater object to be used in updating the value of the
location denoted by this, which must be an expression suitable for the
left-hand side of an assignment. |
org.glassfish.rmic.tools.tree.FieldUpdater |
ExprExpression.getUpdater(Environment env,
Context ctx)
Delegate to our subexpression.
|
org.glassfish.rmic.tools.tree.FieldUpdater |
ArrayAccessExpression.getUpdater(Environment env,
Context ctx)
An array access expression never requires a field updater.
|
Node |
LocalMember.getValue(Environment env)
Return value
|
Statement |
WhileStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
VarDeclarationStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
UnaryExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
TypeExpression.inline(Environment env,
Context ctx) |
Statement |
TryStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
ThrowStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
SynchronizedStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
SwitchStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
Statement.inline(Environment env,
Context ctx)
Inline
|
Statement |
ReturnStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
NewInstanceExpression.inline(Environment env,
Context ctx) |
Expression |
NewArrayExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
MethodExpression.inline(Environment env,
Context ctx) |
Expression |
InstanceOfExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
InlineReturnStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
InlineNewInstanceExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
InlineMethodExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
IncDecExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
IfStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
IdentifierExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
ForStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
FinallyStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
FieldExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
ExpressionStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
Expression.inline(Environment env,
Context ctx)
Inline.
|
Statement |
DoStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
DivRemExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
DeclarationStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
ConvertExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
ConditionalExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
CompoundStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
CommaExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
CatchStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
CastExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
BinaryLogicalExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
BinaryExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
BinaryAssignExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
ArrayExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
ArrayAccessExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
IdentifierExpression.inlineLHS(Environment env,
Context ctx) |
Expression |
FieldExpression.inlineLHS(Environment env,
Context ctx) |
Expression |
Expression.inlineLHS(Environment env,
Context ctx) |
Expression |
ArrayAccessExpression.inlineLHS(Environment env,
Context ctx) |
Expression |
UnaryExpression.inlineValue(Environment env,
Context ctx) |
Expression |
ThisExpression.inlineValue(Environment env,
Context ctx)
Inline
|
Expression |
NewInstanceExpression.inlineValue(Environment env,
Context ctx) |
Expression |
NewArrayExpression.inlineValue(Environment env,
Context ctx) |
Expression |
MethodExpression.inlineValue(Environment env,
Context ctx) |
Expression |
InstanceOfExpression.inlineValue(Environment env,
Context ctx) |
Expression |
InlineNewInstanceExpression.inlineValue(Environment env,
Context ctx) |
Expression |
InlineMethodExpression.inlineValue(Environment env,
Context ctx) |
Expression |
IncDecExpression.inlineValue(Environment env,
Context ctx) |
Expression |
IdentifierExpression.inlineValue(Environment env,
Context ctx) |
Expression |
FieldExpression.inlineValue(Environment env,
Context ctx) |
Expression |
Expression.inlineValue(Environment env,
Context ctx) |
Expression |
ConditionalExpression.inlineValue(Environment env,
Context ctx) |
Expression |
CommaExpression.inlineValue(Environment env,
Context ctx) |
Expression |
CastExpression.inlineValue(Environment env,
Context ctx) |
Expression |
BinaryExpression.inlineValue(Environment env,
Context ctx) |
Expression |
BinaryAssignExpression.inlineValue(Environment env,
Context ctx) |
Expression |
AssignOpExpression.inlineValue(Environment env,
Context ctx)
Inline
|
Expression |
AssignExpression.inlineValue(Environment env,
Context ctx)
Inline
|
Expression |
ArrayExpression.inlineValue(Environment env,
Context ctx) |
Expression |
ArrayAccessExpression.inlineValue(Environment env,
Context ctx) |
Expression |
AddExpression.inlineValue(Environment env,
Context ctx)
Inline the value of an AddExpression.
|
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.
|
protected StringBuffer |
AddExpression.inlineValueSB(Environment env,
Context ctx,
StringBuffer buffer)
Attempt to evaluate this expression.
|
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().)
|
boolean |
UplevelReference.localArgumentAvailable(Environment env,
Context ctx)
Tell if my local argument is directly available in this context.
|
Expression |
UplevelReference.makeFieldReference(Environment env,
Context ctx)
As with makeLocalReference(), build a locally-usable reference.
|
Expression |
UplevelReference.makeLocalReference(Environment env,
Context ctx)
Assuming noteReference() is all taken care of,
build an uplevel reference.
|
Expression |
Context.makeReference(Environment env,
LocalMember target)
Implement a reference (usually an uplevel one).
|
static Environment |
Context.newEnvironment(Environment env,
Context ctx)
Extend an environment with the given context.
|
void |
UplevelReference.noteReference(Environment env,
Context ctx)
Process an uplevel reference.
|
UplevelReference |
Context.noteReference(Environment env,
LocalMember target)
Notice a reference (usually an uplevel one).
|
static boolean |
Context.outerLinkExists(Environment env,
ClassDefinition reqc,
ClassDefinition thisc)
Is there a "this" of type reqc in scope?
|
void |
Statement.setLabel(Environment env,
Expression e)
Set the label of a statement
|
void |
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.
|
Copyright © 2017–2023 Eclipse Foundation. All rights reserved.