|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Insn | |
org.apache.jdo.impl.enhancer.classfile | |
org.apache.jdo.impl.enhancer.core | |
org.apache.jdo.impl.enhancer.util |
Uses of Insn in org.apache.jdo.impl.enhancer.classfile |
Subclasses of Insn in org.apache.jdo.impl.enhancer.classfile | |
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 . |
Fields in org.apache.jdo.impl.enhancer.classfile declared as Insn | |
private Insn |
Insn.nextInsn
|
private Insn |
Insn.prevInsn
|
private Insn |
CodeAttribute.theCode
|
Methods in org.apache.jdo.impl.enhancer.classfile that return Insn | |
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. |
Insn |
Insn.insert(Insn i)
Insert an instruction sequence in the code sequence after this instruction. |
Insn |
Insn.append(Insn i)
Append an instruction sequence at the end of this instruction sequence. |
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,
int intValue)
Create an instruction which requires a single integral constant 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. |
(package private) static Insn |
Insn.read(InsnReadEnv insnEnv)
|
Insn |
CodeAttribute.theCode()
Return the instruction sequence for this method - initially derived from the byte code array, but may later be modified |
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 |
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 |
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.longConstant(long l,
ConstantPool pool)
Return the best instruction for loading the specified long constant onto the stack. |
static Insn |
InsnUtils.floatConstant(float f,
ConstantPool pool)
Return the best instruction for loading the specified float constant onto the stack. |
static Insn |
InsnUtils.doubleConstant(double d,
ConstantPool pool)
Return the best instruction for loading the specified double constant onto the stack. |
static Insn |
InsnUtils.aStore(int i,
ConstantPool pool)
Return the best instruction for storing a reference to a local variable slot |
static Insn |
InsnUtils.iStore(int i,
ConstantPool pool)
Return the best instruction for storing an int to a local variable slot |
static Insn |
InsnUtils.fStore(int i,
ConstantPool pool)
Return the best instruction for storing a float to a local variable slot |
static Insn |
InsnUtils.lStore(int i,
ConstantPool pool)
Return the best instruction for storing a long to a local variable slot |
static Insn |
InsnUtils.dStore(int i,
ConstantPool pool)
Return the best instruction for storing a double to a local variable slot |
static Insn |
InsnUtils.aLoad(int i,
ConstantPool pool)
Return the best instruction for loading a reference from 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 |
static Insn |
InsnUtils.fLoad(int i,
ConstantPool pool)
Return the best instruction for loading a float from 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.dLoad(int i,
ConstantPool pool)
Return the best instruction for loading a double 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.store(int tp,
int i,
ConstantPool pool)
Return the best instruction for storing a value to a local variable slot |
Methods in org.apache.jdo.impl.enhancer.classfile with parameters of type Insn | |
Insn |
Insn.setNext(Insn i)
Insert the single instruction in the code sequence after this instruction. |
Insn |
Insn.insert(Insn i)
Insert an instruction sequence in the code sequence after this instruction. |
Insn |
Insn.append(Insn i)
Append an instruction sequence at the end of this instruction sequence. |
void |
CodeAttribute.setTheCode(Insn insn)
Install the instruction sequence for this method - the byte code array is later updated. |
Constructors in org.apache.jdo.impl.enhancer.classfile with parameters of type Insn | |
CodeAttribute(ConstUtf8 attrName,
int maxStack,
int maxLocals,
Insn code,
ExceptionTable excTable,
AttributeVector codeAttrs)
Constructs a CodeAttribute object for construction from scratch |
|
CodeAttribute(ConstUtf8 attrName,
int maxStack,
int maxLocals,
Insn code,
byte[] codeBytes,
ExceptionTable excTable,
AttributeVector codeAttrs,
CodeEnv codeEnv)
Constructs a CodeAttribute object |
Uses of Insn in org.apache.jdo.impl.enhancer.core |
Methods in org.apache.jdo.impl.enhancer.core that return Insn | |
private Insn |
Annotater.insnAnnotation(Insn insn)
Generate annotations for put/getfield instructions. |
private Insn |
Builder.appendThrowJavaException(Insn insn,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for throwing a IllegalArgumentException. |
private Insn |
Builder.appendCheckStateManager(Insn insn,
int argStart,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for handling if jdoStateManager field is null. |
private Insn |
Builder.appendCheckVarNonNull(Insn insn,
int argStart,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for handling if an argument is null. |
private Insn |
Builder.appendCheckVarInstanceOf(Insn insn,
int argStart,
ConstClass constClass,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for handling if an argument is instance of a class. |
private Insn |
Builder.initJdoInheritedFieldCount(Insn insn)
Adds the initialization code for the jdoInheritedFieldCount field. |
private Insn |
Builder.initJdoFieldNames(Insn insn)
Adds the initialization code for the jdoFieldNames field. |
private Insn |
Builder.initJdoFieldTypes(Insn insn)
Adds the initialization code for the jdoFieldTypes field. |
private Insn |
Builder.initJdoFieldFlags(Insn insn)
Adds the initialization code for the jdoFieldFlags field. |
private Insn |
Builder.initJdoPersistenceCapableSuperclass(Insn insn)
Adds the initialization code for the jdoPersistenceCapableSuperclass field. |
private Insn |
Builder.registerClass(Insn insn)
Adds the code for the jdoPersistenceCapableSuperclass field. |
private Insn |
Builder.appendBeginProvideReplaceField(Insn insn)
Adds the code for the begin of the jdoProvideField and jdoReplaceField methods. |
private Insn |
Builder.appendEndProvideReplaceField(Insn insn,
java.lang.String provideReplaceField_Name,
java.lang.String provideReplaceField_Sig)
Adds the default-branch code for the jdoProvideField and jdoReplaceField methods. |
private Insn |
Builder.appendCaseBranchForProvideField(Insn insn,
java.lang.String providedXXXField_Name,
java.lang.String providedXXXField_Sig,
ConstFieldRef managedFieldRef)
Adds the code for one case-branch in the jdoProvideField method. |
private Insn |
Builder.appendSwitchForProvideField(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the switch code for the jdoProvideField method. |
private Insn |
Builder.appendCaseBranchForReplaceField(Insn insn,
java.lang.String replacingXXXField_Name,
java.lang.String replacingXXXField_Sig,
ConstFieldRef managedFieldRef,
java.lang.String managedFieldSig)
Adds the code for one case-branch in the jdoReplaceField method. |
private Insn |
Builder.appendSwitchForReplaceField(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the switch code for the jdoReplaceField method. |
private Insn |
Builder.appendBeginCopyField(Insn insn)
Adds the code for the begin of the jdoCopyField method. |
private Insn |
Builder.appendEndCopyField(Insn insn)
Adds the default-branch code for the jdoCopyField method. |
private Insn |
Builder.appendCaseBranchForCopyField(Insn insn,
ConstFieldRef managedFieldRef)
Adds the code for one case-branch in the jdoCopyField method. |
private Insn |
Builder.appendSwitchForCopyField(Insn insn)
Adds the switch code for the jdoCopyField method. |
private Insn |
Builder.appendCopyKeyFieldToOid(Insn insn,
java.lang.String fetchXXXField_Name,
java.lang.String fetchXXXField_Sig,
int keyFieldNo,
ConstFieldRef keyFieldRef,
java.lang.String keyFieldSig)
Adds the code for one case-branch in the jdoCopyKeyFieldsToObjectId. |
private Insn |
Builder.appendStatementsForCopyKeyFieldsToOid(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the field assignment code for the jdoCopyKeyFieldsToObjectId. |
private Insn |
Builder.appendCopyKeyFieldFromOid(Insn insn,
java.lang.String storeXXXField_Name,
java.lang.String storeXXXField_Sig,
int keyFieldNo,
ConstFieldRef keyFieldRef)
Adds the code for one case-branch in the jdoCopyKeyFieldsFromObjectId. |
private Insn |
Builder.appendStatementsForCopyKeyFieldsFromOid(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the field assignment code for the jdoCopyKeyFieldsFromObjectId. |
private Insn |
Builder.appendDirectReadReturn(Insn insn,
ConstFieldRef fieldRef)
Append the code for returning the value from a direct read access. |
Insn |
Builder.appendMediatedReadAccess(Insn insn,
int fieldIndex,
ConstFieldRef fieldRef,
int varStart)
Append the code for mediated read access. |
private Insn |
Builder.appendDirectWriteReturn(Insn insn,
ConstFieldRef fieldRef)
Append the code for assigning the argument to the field and return. |
private Insn |
Builder.appendMediatedWriteAccess(Insn insn,
int fieldIndex,
ConstFieldRef fieldRef,
int varStart)
Append the code for mediated write access. |
Methods in org.apache.jdo.impl.enhancer.core with parameters of type Insn | |
private Insn |
Annotater.insnAnnotation(Insn insn)
Generate annotations for put/getfield instructions. |
private Insn |
Builder.appendThrowJavaException(Insn insn,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for throwing a IllegalArgumentException. |
private Insn |
Builder.appendCheckStateManager(Insn insn,
int argStart,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for handling if jdoStateManager field is null. |
private Insn |
Builder.appendCheckVarNonNull(Insn insn,
int argStart,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for handling if an argument is null. |
private Insn |
Builder.appendCheckVarInstanceOf(Insn insn,
int argStart,
ConstClass constClass,
java.lang.String exceptionName,
java.lang.String exceptionText)
Adds the code for handling if an argument is instance of a class. |
private Insn |
Builder.initJdoInheritedFieldCount(Insn insn)
Adds the initialization code for the jdoInheritedFieldCount field. |
private Insn |
Builder.initJdoFieldNames(Insn insn)
Adds the initialization code for the jdoFieldNames field. |
private Insn |
Builder.initJdoFieldTypes(Insn insn)
Adds the initialization code for the jdoFieldTypes field. |
private Insn |
Builder.initJdoFieldFlags(Insn insn)
Adds the initialization code for the jdoFieldFlags field. |
private Insn |
Builder.initJdoPersistenceCapableSuperclass(Insn insn)
Adds the initialization code for the jdoPersistenceCapableSuperclass field. |
private Insn |
Builder.registerClass(Insn insn)
Adds the code for the jdoPersistenceCapableSuperclass field. |
private Insn |
Builder.appendBeginProvideReplaceField(Insn insn)
Adds the code for the begin of the jdoProvideField and jdoReplaceField methods. |
private Insn |
Builder.appendEndProvideReplaceField(Insn insn,
java.lang.String provideReplaceField_Name,
java.lang.String provideReplaceField_Sig)
Adds the default-branch code for the jdoProvideField and jdoReplaceField methods. |
private Insn |
Builder.appendCaseBranchForProvideField(Insn insn,
java.lang.String providedXXXField_Name,
java.lang.String providedXXXField_Sig,
ConstFieldRef managedFieldRef)
Adds the code for one case-branch in the jdoProvideField method. |
private Insn |
Builder.appendSwitchForProvideField(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the switch code for the jdoProvideField method. |
private Insn |
Builder.appendCaseBranchForReplaceField(Insn insn,
java.lang.String replacingXXXField_Name,
java.lang.String replacingXXXField_Sig,
ConstFieldRef managedFieldRef,
java.lang.String managedFieldSig)
Adds the code for one case-branch in the jdoReplaceField method. |
private Insn |
Builder.appendSwitchForReplaceField(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the switch code for the jdoReplaceField method. |
private Insn |
Builder.appendBeginCopyField(Insn insn)
Adds the code for the begin of the jdoCopyField method. |
private Insn |
Builder.appendEndCopyField(Insn insn)
Adds the default-branch code for the jdoCopyField method. |
private Insn |
Builder.appendCaseBranchForCopyField(Insn insn,
ConstFieldRef managedFieldRef)
Adds the code for one case-branch in the jdoCopyField method. |
private Insn |
Builder.appendSwitchForCopyField(Insn insn)
Adds the switch code for the jdoCopyField method. |
private Insn |
Builder.appendCopyKeyFieldToOid(Insn insn,
java.lang.String fetchXXXField_Name,
java.lang.String fetchXXXField_Sig,
int keyFieldNo,
ConstFieldRef keyFieldRef,
java.lang.String keyFieldSig)
Adds the code for one case-branch in the jdoCopyKeyFieldsToObjectId. |
private Insn |
Builder.appendStatementsForCopyKeyFieldsToOid(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the field assignment code for the jdoCopyKeyFieldsToObjectId. |
private Insn |
Builder.appendCopyKeyFieldFromOid(Insn insn,
java.lang.String storeXXXField_Name,
java.lang.String storeXXXField_Sig,
int keyFieldNo,
ConstFieldRef keyFieldRef)
Adds the code for one case-branch in the jdoCopyKeyFieldsFromObjectId. |
private Insn |
Builder.appendStatementsForCopyKeyFieldsFromOid(Insn insn,
Builder.SizeHolder sizeHolder)
Adds the field assignment code for the jdoCopyKeyFieldsFromObjectId. |
private Insn |
Builder.appendDirectReadReturn(Insn insn,
ConstFieldRef fieldRef)
Append the code for returning the value from a direct read access. |
Insn |
Builder.appendMediatedReadAccess(Insn insn,
int fieldIndex,
ConstFieldRef fieldRef,
int varStart)
Append the code for mediated read access. |
private Insn |
Builder.appendDirectWriteReturn(Insn insn,
ConstFieldRef fieldRef)
Append the code for assigning the argument to the field and return. |
private Insn |
Builder.appendMediatedWriteAccess(Insn insn,
int fieldIndex,
ConstFieldRef fieldRef,
int varStart)
Append the code for mediated write access. |
Uses of Insn in org.apache.jdo.impl.enhancer.util |
Methods in org.apache.jdo.impl.enhancer.util with parameters of type Insn | |
private int |
AnnotationTest.checkGetPutField(java.io.PrintWriter out,
Insn insn,
boolean jdoMethod)
|
private int |
AnnotationTest.checkInvokeStatic(java.io.PrintWriter out,
Insn insn,
boolean jdoMethod)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |