Package | Description |
---|---|
org.apache.jdo.impl.enhancer.classfile |
Modifier and Type | Class and Description |
---|---|
class |
InsnConstOp
An instruction which requires a single constant from the constant
pool as an immediate operand
|
class |
InsnIInc
Special instruction form for the opc_iinc instruction
|
class |
InsnInterfaceInvoke
Special instruction form for the opc_invokeinterface instruction
|
class |
InsnIntOp
An instruction which requires a integral constant as an immediate operand
|
class |
InsnLookupSwitch
Special instruction form for the opc_lookupswitch instruction
|
class |
InsnMultiDimArrayNew
Special instruction form for the opc_multianewarray instruction
|
class |
InsnSingle
A java VM instruction which takes no immediate operands.
|
class |
InsnTableSwitch
Special instruction form for the opc_tableswitch instruction
|
class |
InsnTarget
InsnTarget is a pseudo-instruction which represents a branch target
in an instruction stream.
|
class |
InsnTargetOp
An instruction which requires a single branch offset
as an immediate operand .
|
Modifier and Type | Method and Description |
---|---|
static Insn |
InsnUtils.aLoad(int i,
ConstantPool pool)
Return the best instruction for loading a reference from a local
variable slot
|
Insn |
Insn.append(Insn i)
Append an instruction sequence at the end of this instruction
sequence.
|
static Insn |
InsnUtils.aStore(int i,
ConstantPool pool)
Return the best instruction for storing a reference to a local
variable slot
|
static Insn |
InsnUtils.constantValue(ConstValue value)
Return the best instruction for loading a value from the constant
pool onto the stack - hopefully use short form
|
static Insn |
Insn.create(int theOpCode)
Create an instruction which requires no immediate operands
|
static Insn |
Insn.create(int theOpCode,
ConstBasic constValue)
Create an instruction which requires a single constant from the
constant pool as an immediate operand.
|
static Insn |
Insn.create(int theOpCode,
InsnTarget target)
Create an instruction which requires a single branch offset
as an immediate operand.
|
static Insn |
Insn.create(int theOpCode,
int intValue)
Create an instruction which requires a single integral constant
as an immediate operand.
|
static Insn |
InsnUtils.dLoad(int i,
ConstantPool pool)
Return the best instruction for loading a double from a local
variable slot
|
static Insn |
InsnUtils.doubleConstant(double d,
ConstantPool pool)
Return the best instruction for loading the specified double constant onto
the stack.
|
static Insn |
InsnUtils.dStore(int i,
ConstantPool pool)
Return the best instruction for storing a double to a local
variable slot
|
static Insn |
InsnUtils.fLoad(int i,
ConstantPool pool)
Return the best instruction for loading a float from a local
variable slot
|
static Insn |
InsnUtils.floatConstant(float f,
ConstantPool pool)
Return the best instruction for loading the specified float constant onto
the stack.
|
static Insn |
InsnUtils.fStore(int i,
ConstantPool pool)
Return the best instruction for storing a float to a local
variable slot
|
static Insn |
InsnUtils.iLoad(int i,
ConstantPool pool)
Return the best instruction for loading an int from a local
variable slot
|
Insn |
Insn.insert(Insn i)
Insert an instruction sequence in the code sequence after this
instruction.
|
static Insn |
InsnUtils.integerConstant(int i,
ConstantPool pool)
Return the best instruction for loading the specified integer
constant onto the stack - hopefully use short form
|
static Insn |
InsnUtils.iStore(int i,
ConstantPool pool)
Return the best instruction for storing an int to a local
variable slot
|
static Insn |
InsnUtils.lLoad(int i,
ConstantPool pool)
Return the best instruction for loading a long from a local
variable slot
|
static Insn |
InsnUtils.load(int tp,
int i,
ConstantPool pool)
Return the best instruction for loading a value from a local
variable slot
|
static Insn |
InsnUtils.longConstant(long l,
ConstantPool pool)
Return the best instruction for loading the specified long constant onto
the stack.
|
static Insn |
InsnUtils.lStore(int i,
ConstantPool pool)
Return the best instruction for storing a long to a local
variable slot
|
Insn |
Insn.next()
Returns the next instruction in the code sequence
|
Insn |
Insn.prev()
Returns the previous instruction in the code sequence
|
Insn |
Insn.setNext(Insn i)
Insert the single instruction in the code sequence after this
instruction.
|
static Insn |
InsnUtils.store(int tp,
int i,
ConstantPool pool)
Return the best instruction for storing a value to a local
variable slot
|
static Insn |
InsnUtils.stringConstant(java.lang.String s,
ConstantPool pool)
Return the best instruction for loading the specified String
constant onto the stack - hopefully use short form
|
Insn |
CodeAttribute.theCode()
Return the instruction sequence for this method - initially derived
from the byte code array, but may later be modified
|
Modifier and Type | Method and Description |
---|---|
Insn |
Insn.append(Insn i)
Append an instruction sequence at the end of this instruction
sequence.
|
Insn |
Insn.insert(Insn i)
Insert an instruction sequence in the code sequence after this
instruction.
|
Insn |
Insn.setNext(Insn i)
Insert the single instruction in the code sequence after this
instruction.
|
void |
CodeAttribute.setTheCode(Insn insn)
Install the instruction sequence for this method - the byte code array
is later updated.
|
Constructor and Description |
---|
CodeAttribute(ConstUtf8 attrName,
int maxStack,
int maxLocals,
Insn code,
byte[] codeBytes,
ExceptionTable excTable,
AttributeVector codeAttrs,
org.apache.jdo.impl.enhancer.classfile.CodeEnv codeEnv)
Constructs a CodeAttribute object
|
CodeAttribute(ConstUtf8 attrName,
int maxStack,
int maxLocals,
Insn code,
ExceptionTable excTable,
AttributeVector codeAttrs)
Constructs a CodeAttribute object for construction from scratch
|
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.