Package | Description |
---|---|
org.glassfish.pfl.dynamic.codegen.impl | |
org.glassfish.pfl.dynamic.codegen.spi |
Modifier and Type | Interface and Description |
---|---|
interface |
VariableInternal |
Modifier and Type | Class and Description |
---|---|
static class |
ExpressionFactory.VariableImpl |
Modifier and Type | Field and Description |
---|---|
protected List<Variable> |
MethodInfoBase.arguments |
Modifier and Type | Method and Description |
---|---|
Variable |
MethodGenerator.addArgument(Type type,
String ident) |
Variable |
BlockStatement.getVar(String ident)
Look up the ident to see if it has an associated Variable in
this block.
|
Variable |
DefinitionStatement.var() |
Variable |
ExpressionFactory.variable(Type type,
String ident) |
Modifier and Type | Method and Description |
---|---|
Pair<Variable,BlockStatement> |
TryStatement.addCatch(Type type,
String ident)
Add a new Catch block to this try statement.
|
List<Variable> |
MethodInfoBase.arguments() |
Map<Type,Pair<Variable,BlockStatement>> |
TryStatement.catches() |
Modifier and Type | Method and Description |
---|---|
void |
ByteCodeUtility.emitMethodEnd(MethodGenerator mg,
org.glassfish.pfl.objectweb.asm.Label returnLabel,
Variable returnVariable,
boolean dump) |
void |
ByteCodeUtility.emitRet(Variable var) |
static EmitterFactory.Emitter |
EmitterFactory.makeEmitter(Variable var,
boolean isStore)
Create an emitter that generates the instruction needed to
either store the TOS value into the variable (isStore==true)
or push the variable's value onto the stack (isStore==false).
|
void |
TreeWalker.postVariable(Variable arg) |
void |
SourceExpressionVisitor.postVariable(Variable arg) |
void |
NopVisitor.postVariable(Variable arg) |
void |
ASMByteCodeVisitor.postVariable(Variable arg) |
boolean |
TreeWalker.preVariable(Variable arg) |
boolean |
SourceExpressionVisitor.preVariable(Variable arg) |
boolean |
NopVisitor.preVariable(Variable arg) |
boolean |
ASMSetupVisitor.preVariable(Variable arg) |
boolean |
ASMByteCodeVisitor.preVariable(Variable param) |
void |
TreeWalker.tryStatementBeforeBlock(TryStatement arg,
Type type,
Variable var,
BlockStatement block) |
void |
SourceStatementVisitor.tryStatementBeforeBlock(TryStatement arg,
Type type,
Variable var,
BlockStatement block) |
void |
NopVisitor.tryStatementBeforeBlock(TryStatement arg,
Type type,
Variable var,
BlockStatement block) |
void |
ASMSetupVisitor.tryStatementBeforeBlock(TryStatement arg,
Type type,
Variable var,
BlockStatement block) |
void |
ASMByteCodeVisitor.tryStatementBeforeBlock(TryStatement arg,
Type type,
Variable var,
BlockStatement block) |
void |
Visitor.visitVariable(Variable arg) |
void |
TreeWalker.visitVariable(Variable arg) |
Modifier and Type | Method and Description |
---|---|
Variable |
ModifiableFieldReference.getTargetObject()
Return an expression that can be used to access
the target object, if !Modifier.isStatic(field().modifiers()).
|
Variable |
ModifiableFieldReference.getValue()
Return an expression that can be used to access
the field value.
|
Modifier and Type | Method and Description |
---|---|
List<Variable> |
MethodInfo.arguments()
Return a list of arguments for this method.
|
Copyright © 2017 Oracle. All rights reserved.