| Package | Description |
|---|---|
| org.glassfish.rmic.tools.java | |
| org.glassfish.rmic.tools.javac | |
| org.glassfish.rmic.tools.tree |
| Modifier and Type | Field and Description |
|---|---|
protected Context |
ClassDefinition.classContext |
| Modifier and Type | Method and Description |
|---|---|
Context |
ClassDefinition.getClassContext() |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
MemberDefinition.codeInit(Environment env,
Context ctx,
Assembler asm) |
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
SourceMember.codeInit(Environment env,
Context ctx,
Assembler asm)
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.
|
MemberDefinition |
SourceClass.getUpdateMember(Environment env,
Context ctx,
MemberDefinition field,
boolean isSuper)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CheckContext
WARNING: The contents of this source file are not part of any
supported API.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Context.getBreakContext(Identifier lbl)
Get the destination context of a break
|
Context |
Context.getContinueContext(Identifier lbl)
Get the destination context of a continue
|
Context |
Context.getLabelContext(Identifier lbl)
Get the context that corresponds to a label, return null if
not found.
|
| Modifier and Type | Method and Description |
|---|---|
Vset |
CommaExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check void expression
|
Vset |
ConditionalExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp) |
Vset |
BinaryAssignExpression.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 |
NewInstanceExpression.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 |
IncDecExpression.check(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check void expression
|
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 |
ArrayAccessExpression.checkAmbigName(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
UnaryExpression loc) |
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 |
TypeExpression.checkAmbigName(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
UnaryExpression loc) |
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 |
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 |
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 |
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) |
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 |
Expression.checkAssignOp(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
Expression outside) |
org.glassfish.rmic.tools.tree.ConditionVars |
Expression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a condition.
|
void |
ExprExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars)
Check a condition.
|
void |
OrExpression.checkCondition(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp,
org.glassfish.rmic.tools.tree.ConditionVars cvars) |
void |
BooleanExpression.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) |
void |
NotExpression.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 |
Expression.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 |
ArrayExpression.checkInitializer(Environment env,
Context ctx,
Vset vset,
Type t,
Hashtable<Object,Object> exp) |
Vset |
Expression.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 |
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 |
ArrayAccessExpression.checkLHS(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp) |
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 |
Expression.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 |
FieldExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression
|
Vset |
LengthExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Select the type of the expression
|
Vset |
AssignExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an assignment expression
|
Vset |
AssignOpExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an assignment expression
|
Vset |
ThisExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression
|
Vset |
ConvertExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the value
|
Vset |
NewArrayExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check
|
Vset |
ConditionalExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression
|
Vset |
MethodExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
Vset |
BinaryExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a binary expression
|
Vset |
ArrayAccessExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
Vset |
NewInstanceExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
Vset |
BinaryLogicalExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a binary expression
|
Vset |
CastExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check the expression
|
Vset |
IdentifierExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression
|
Vset |
TypeExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an expression
|
Vset |
ArrayExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression type
|
Vset |
InstanceOfExpression.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 |
IncDecExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check an increment or decrement expression
|
Vset |
SuperExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check expression
|
Vset |
UnaryExpression.checkValue(Environment env,
Context ctx,
Vset vset,
Hashtable<Object,Object> exp)
Check a unary expression
|
void |
Statement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
WhileStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
AssignExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
SwitchStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
CatchStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
CommaExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
AssignOpExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
ConditionalExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
SynchronizedStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PreDecExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
ContinueStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PostIncExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
IfStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
FinallyStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InlineNewInstanceExpression.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 |
NewInstanceExpression.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PostDecExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
PreIncExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
DeclarationStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InlineMethodExpression.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InlineReturnStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ForStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InstanceOfExpression.code(Environment env,
Context ctx,
Assembler asm) |
void |
DoStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
Expression.code(Environment env,
Context ctx,
Assembler asm) |
void |
VarDeclarationStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ExpressionStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ReturnStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
CompoundStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
BreakStatement.code(Environment env,
Context ctx,
Assembler asm)
Code
|
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 |
AddExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
FieldExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
LengthExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
AssignExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
CommaExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
AssignOpExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
DoubleExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
LongExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ThisExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ConvertExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
NewArrayExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
ConditionalExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
MethodExpression.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 |
BooleanExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
NotExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Instead of relying on the default code generation which uses
conditional branching, generate a simpler stream using XOR.
|
void |
BinaryExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
InlineNewInstanceExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
ArrayAccessExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
IntegerExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
NewInstanceExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
FloatExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PostDecExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
PreIncExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
IdentifierExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
InlineMethodExpression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
ArrayExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
BitNotExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
InstanceOfExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
NegativeExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
NullExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
Expression.codeValue(Environment env,
Context ctx,
Assembler asm) |
void |
BinaryBitExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
void |
StringExpression.codeValue(Environment env,
Context ctx,
Assembler asm)
Code
|
Expression |
Node.convert(Environment env,
Context ctx,
Type t,
Expression e)
Implicit conversions
|
static LocalMember[] |
LocalMember.copyArguments(Context ctx,
MemberDefinition field)
May inline copies of all the arguments of the given method.
|
Expression |
NaryExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
FieldExpression.copyInline(Context ctx) |
Expression |
AssignExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
AssignOpExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
ThisExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
NewArrayExpression.copyInline(Context ctx) |
Expression |
ConditionalExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
BinaryAssignExpression.copyInline(Context ctx) |
Expression |
MethodExpression.copyInline(Context ctx) |
Expression |
BinaryExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
InlineNewInstanceExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
ArrayAccessExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
NewInstanceExpression.copyInline(Context ctx) |
LocalMember |
LocalMember.copyInline(Context ctx)
Make a copy of this field, which is an argument to a method
or constructor.
|
Expression |
IdentifierExpression.copyInline(Context ctx) |
Expression |
InlineMethodExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
Expression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Expression |
UnaryExpression.copyInline(Context ctx)
Create a copy of the expression for method inlining
|
Statement |
Statement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
WhileStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
SwitchStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
CatchStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
SynchronizedStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
IfStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
FinallyStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
TryStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
ThrowStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
DeclarationStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
InlineReturnStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
ForStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
DoStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
VarDeclarationStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
ExpressionStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
ReturnStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
Statement |
CompoundStatement.copyInline(Context ctx,
boolean valNeeded)
Create a copy of the statement for method inlining
|
int |
AddExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
NaryExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
CaseStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
Statement.costInline(int thresh,
Environment env,
Context ctx) |
int |
FieldExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
WhileStatement.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 |
SwitchStatement.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 |
AssignOpExpression.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 |
BinaryAssignExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
SynchronizedStatement.costInline(int thresh,
Environment env,
Context ctx)
Compute cost of inlining this statement
|
int |
MethodExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
ContinueStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
IfStatement.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 |
BinaryExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
ArrayAccessExpression.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 |
NewInstanceExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
DeclarationStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
CastExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
IdentifierExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
InlineReturnStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
ForStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
InstanceOfExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
DoStatement.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 |
IncDecExpression.costInline(int thresh,
Environment env,
Context ctx) |
int |
UnaryExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this expression
|
int |
VarDeclarationStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
AssignAddExpression.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
ExpressionStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
ReturnStatement.costInline(int thresh,
Environment env,
Context ctx)
The cost of inlining this statement
|
int |
CompoundStatement.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
|
static void |
LocalMember.doneWithArguments(Context ctx,
LocalMember[] res)
Call this when finished with the result of a copyArguments() call.
|
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.
|
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 |
ThisExpression.getAssigner(Environment env,
Context ctx) |
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.
|
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 |
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. |
LocalMember |
LocalMember.getCurrentInlineCopy(Context ctx)
Returns the previous result of copyInline(ctx).
|
int |
LocalMember.getNumber(Context ctx)
Value number for vsets, or -1 if none.
|
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 |
ExprExpression.getUpdater(Environment env,
Context ctx)
Delegate to our subexpression.
|
org.glassfish.rmic.tools.tree.FieldUpdater |
ThisExpression.getUpdater(Environment env,
Context ctx) |
org.glassfish.rmic.tools.tree.FieldUpdater |
ArrayAccessExpression.getUpdater(Environment env,
Context ctx)
An array access expression never requires a field updater.
|
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 |
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. |
Statement |
Statement.inline(Environment env,
Context ctx)
Inline
|
Expression |
FieldExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
WhileStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
SwitchStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
CatchStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
CommaExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
DivRemExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
ConvertExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
NewArrayExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
ConditionalExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
BinaryAssignExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
SynchronizedStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
MethodExpression.inline(Environment env,
Context ctx) |
Statement |
IfStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
FinallyStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
BinaryExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
InlineNewInstanceExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
ArrayAccessExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
TryStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
ThrowStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
NewInstanceExpression.inline(Environment env,
Context ctx) |
Expression |
BinaryLogicalExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
DeclarationStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
CastExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
IdentifierExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
TypeExpression.inline(Environment env,
Context ctx) |
Expression |
InlineMethodExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
InlineReturnStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
ArrayExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
ForStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
InstanceOfExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
DoStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
Expression.inline(Environment env,
Context ctx)
Inline.
|
Expression |
IncDecExpression.inline(Environment env,
Context ctx)
Inline
|
Expression |
UnaryExpression.inline(Environment env,
Context ctx)
Inline
|
Statement |
VarDeclarationStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
ExpressionStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
ReturnStatement.inline(Environment env,
Context ctx)
Inline
|
Statement |
CompoundStatement.inline(Environment env,
Context ctx)
Inline
|
Expression |
FieldExpression.inlineLHS(Environment env,
Context ctx) |
Expression |
ArrayAccessExpression.inlineLHS(Environment env,
Context ctx) |
Expression |
IdentifierExpression.inlineLHS(Environment env,
Context ctx) |
Expression |
Expression.inlineLHS(Environment env,
Context ctx) |
Expression |
AddExpression.inlineValue(Environment env,
Context ctx)
Inline the value of an AddExpression.
|
Expression |
FieldExpression.inlineValue(Environment env,
Context ctx) |
Expression |
AssignExpression.inlineValue(Environment env,
Context ctx)
Inline
|
Expression |
CommaExpression.inlineValue(Environment env,
Context ctx) |
Expression |
AssignOpExpression.inlineValue(Environment env,
Context ctx)
Inline
|
Expression |
ThisExpression.inlineValue(Environment env,
Context ctx)
Inline
|
Expression |
NewArrayExpression.inlineValue(Environment env,
Context ctx) |
Expression |
ConditionalExpression.inlineValue(Environment env,
Context ctx) |
Expression |
BinaryAssignExpression.inlineValue(Environment env,
Context ctx) |
Expression |
MethodExpression.inlineValue(Environment env,
Context ctx) |
Expression |
BinaryExpression.inlineValue(Environment env,
Context ctx) |
Expression |
InlineNewInstanceExpression.inlineValue(Environment env,
Context ctx) |
Expression |
ArrayAccessExpression.inlineValue(Environment env,
Context ctx) |
Expression |
NewInstanceExpression.inlineValue(Environment env,
Context ctx) |
Expression |
CastExpression.inlineValue(Environment env,
Context ctx) |
Expression |
IdentifierExpression.inlineValue(Environment env,
Context ctx) |
Expression |
InlineMethodExpression.inlineValue(Environment env,
Context ctx) |
Expression |
ArrayExpression.inlineValue(Environment env,
Context ctx) |
Expression |
InstanceOfExpression.inlineValue(Environment env,
Context ctx) |
Expression |
Expression.inlineValue(Environment env,
Context ctx) |
Expression |
IncDecExpression.inlineValue(Environment env,
Context ctx) |
Expression |
UnaryExpression.inlineValue(Environment env,
Context ctx) |
protected StringBuffer |
AddExpression.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 |
Expression.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 |
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.
|
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.
|
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.
|
| Constructor and Description |
|---|
Context(Context ctx) |
Context(Context ctx,
ClassDefinition c)
Create a new context, for initializing a class.
|
Context(Context ctx,
MemberDefinition field)
Create the initial context for a method
The incoming context is inherited from
|
SuperExpression(long where,
Context ctx) |
ThisExpression(long where,
Context ctx) |
Copyright © 2020. All Rights Reserved.