Uses of Class
org.aspectj.apache.bcel.generic.Instruction

Packages that use Instruction
org.aspectj.apache.bcel.generic   
org.aspectj.weaver.bcel   
 

Uses of Instruction in org.aspectj.apache.bcel.generic
 

Subclasses of Instruction in org.aspectj.apache.bcel.generic
 class FieldInstruction
          Super class for the GET/PUTxxx family of instructions.
 class FieldOrMethod
          Super class for InvokeInstruction and FieldInstruction, since they have some methods in common!
 class IINC
          IINC - Increment local variable by constant
 class InstructionBranch
          Abstract super class for branching instructions like GOTO, IFEQ, etc..
 class InstructionByte
          Instruction that needs one byte
 class InstructionCLV
          A small subclass of the local variable accessing instruction class InstructionLV - this subclass does not allow the index to be altered.
 class InstructionCP
          Class for instructions that use an index into the constant pool such as LDC, INVOKEVIRTUAL, etc.
 class InstructionLV
          Abstract super class for instructions dealing with local variables.
 class InstructionSelect
          Select - Abstract super class for LOOKUPSWITCH and TABLESWITCH instructions.
 class InstructionShort
          Instruction that needs one short
 class InvokeInstruction
          Super class for the INVOKExxx family of instructions.
 class INVOKEINTERFACE
          INVOKEINTERFACE - Invoke interface method
 class LOOKUPSWITCH
          LOOKUPSWITCH - Switch with unordered set of values
 class MULTIANEWARRAY
          MULTIANEWARRAY - Create new mutidimensional array of references
 class RET
          RET - Return from subroutine
 class TABLESWITCH
          TABLESWITCH - Switch within given range of values, i.e., low..high
 

Fields in org.aspectj.apache.bcel.generic declared as Instruction
static Instruction InstructionConstants.AALOAD
           
static Instruction InstructionConstants.AASTORE
           
static Instruction InstructionConstants.ACONST_NULL
           
static Instruction InstructionConstants.ARETURN
           
static Instruction InstructionConstants.ARRAYLENGTH
           
static Instruction InstructionConstants.ATHROW
           
static Instruction InstructionConstants.BALOAD
           
static Instruction InstructionConstants.BASTORE
           
static Instruction InstructionConstants.CALOAD
           
static Instruction InstructionConstants.CASTORE
           
static Instruction InstructionConstants.D2F
           
static Instruction InstructionConstants.D2I
           
static Instruction InstructionConstants.D2L
           
static Instruction InstructionConstants.DADD
           
static Instruction InstructionConstants.DALOAD
           
static Instruction InstructionConstants.DASTORE
           
static Instruction InstructionConstants.DCMPG
           
static Instruction InstructionConstants.DCMPL
           
static Instruction InstructionConstants.DCONST_0
           
static Instruction InstructionConstants.DCONST_1
           
static Instruction InstructionConstants.DDIV
           
static Instruction InstructionConstants.DMUL
           
static Instruction InstructionConstants.DNEG
           
static Instruction InstructionConstants.DREM
           
static Instruction InstructionConstants.DRETURN
           
static Instruction InstructionConstants.DSUB
           
static Instruction InstructionConstants.DUP
           
static Instruction InstructionConstants.DUP_X1
           
static Instruction InstructionConstants.DUP_X2
           
static Instruction InstructionConstants.DUP2
           
static Instruction InstructionConstants.DUP2_X1
           
static Instruction InstructionConstants.DUP2_X2
           
static Instruction InstructionConstants.F2D
           
static Instruction InstructionConstants.F2I
           
static Instruction InstructionConstants.F2L
           
static Instruction InstructionConstants.FADD
           
static Instruction InstructionConstants.FALOAD
           
static Instruction InstructionConstants.FASTORE
           
static Instruction InstructionConstants.FCMPG
           
static Instruction InstructionConstants.FCMPL
           
static Instruction InstructionConstants.FCONST_0
           
static Instruction InstructionConstants.FCONST_1
           
static Instruction InstructionConstants.FCONST_2
           
static Instruction InstructionConstants.FDIV
           
static Instruction InstructionConstants.FMUL
           
static Instruction InstructionConstants.FNEG
           
static Instruction InstructionConstants.FREM
           
static Instruction InstructionConstants.FRETURN
           
static Instruction InstructionConstants.FSUB
           
static Instruction InstructionConstants.I2B
           
static Instruction InstructionConstants.I2C
           
static Instruction InstructionConstants.I2D
           
static Instruction InstructionConstants.I2F
           
static Instruction InstructionConstants.I2L
           
static Instruction InstructionConstants.I2S
           
static Instruction InstructionConstants.IADD
           
static Instruction InstructionConstants.IALOAD
           
static Instruction InstructionConstants.IAND
           
static Instruction InstructionConstants.IASTORE
           
static Instruction InstructionConstants.ICONST_0
           
static Instruction InstructionConstants.ICONST_1
           
static Instruction InstructionConstants.ICONST_2
           
static Instruction InstructionConstants.ICONST_3
           
static Instruction InstructionConstants.ICONST_4
           
static Instruction InstructionConstants.ICONST_5
           
static Instruction InstructionConstants.ICONST_M1
           
static Instruction InstructionConstants.IDIV
           
static Instruction InstructionConstants.IMPDEP1
           
static Instruction InstructionConstants.IMPDEP2
           
static Instruction InstructionConstants.IMUL
           
static Instruction InstructionConstants.INEG
           
static Instruction[] InstructionConstants.INSTRUCTIONS
          Get object via its opcode, for immutable instructions like branch instructions entries are set to null.
static Instruction InstructionConstants.IOR
           
static Instruction InstructionConstants.IREM
           
static Instruction InstructionConstants.IRETURN
           
static Instruction InstructionConstants.ISHL
           
static Instruction InstructionConstants.ISHR
           
static Instruction InstructionConstants.ISUB
           
static Instruction InstructionConstants.IUSHR
           
static Instruction InstructionConstants.IXOR
           
static Instruction InstructionConstants.L2D
           
static Instruction InstructionConstants.L2F
           
static Instruction InstructionConstants.L2I
           
static Instruction InstructionConstants.LADD
           
static Instruction InstructionConstants.LALOAD
           
static Instruction InstructionConstants.LAND
           
static Instruction InstructionConstants.LASTORE
           
static Instruction InstructionConstants.LCMP
           
static Instruction InstructionConstants.LCONST_0
           
static Instruction InstructionConstants.LCONST_1
           
static Instruction InstructionConstants.LDIV
           
static Instruction InstructionConstants.LMUL
           
static Instruction InstructionConstants.LNEG
           
static Instruction InstructionConstants.LOR
           
static Instruction InstructionConstants.LREM
           
static Instruction InstructionConstants.LRETURN
           
static Instruction InstructionConstants.LSHL
           
static Instruction InstructionConstants.LSHR
           
static Instruction InstructionConstants.LSUB
           
static Instruction InstructionConstants.LUSHR
           
static Instruction InstructionConstants.LXOR
           
static Instruction InstructionConstants.MONITORENTER
           
static Instruction InstructionConstants.MONITOREXIT
           
static Instruction InstructionConstants.NOP
          Predefined instruction objects
static Instruction InstructionConstants.POP
           
static Instruction InstructionConstants.POP2
           
static Instruction InstructionConstants.RETURN
           
static Instruction InstructionConstants.SALOAD
           
static Instruction InstructionConstants.SASTORE
           
static Instruction InstructionConstants.SWAP
           
 

Methods in org.aspectj.apache.bcel.generic that return Instruction
 Instruction Instruction.copy()
          Use with caution, since `BranchInstruction's have a `target' reference which is not copied correctly (only basic types are).
static Instruction InstructionFactory.createALOAD(int n)
           
static Instruction InstructionFactory.createArrayLoad(Type type)
           
static Instruction InstructionFactory.createArrayStore(Type type)
           
static Instruction InstructionFactory.createASTORE(int n)
           
 Instruction InstructionFactory.createCast(Type src_type, Type dest_type)
          Create conversion operation for two stack operands, this may be an I2C, instruction, e.g., if the operands are basic types and CHECKCAST if they are reference types.
 Instruction InstructionFactory.createCheckCast(ReferenceType t)
           
 Instruction InstructionFactory.createConstant(java.lang.Object value)
          Uses PUSH to push a constant value onto the stack.
static Instruction InstructionFactory.createDup_1(int size)
           
static Instruction InstructionFactory.createDup_2(int size)
           
static Instruction InstructionFactory.createDup(int size)
           
 Instruction InstructionFactory.createInstanceOf(ReferenceType t)
           
 Instruction InstructionFactory.createNew(ObjectType t)
           
 Instruction InstructionFactory.createNew(java.lang.String s)
           
 Instruction InstructionFactory.createNewArray(Type t, short dim)
          Create new array of given size and type.
static Instruction InstructionFactory.createNull(Type type)
          Create "null" value for reference types, 0 for basic types like int
static Instruction InstructionFactory.createPop(int size)
           
static Instruction InstructionFactory.createReturn(Type type)
          Create typed return
static Instruction InstructionFactory.createThis()
          Create reference to `this'
 Instruction InstructionHandle.getInstruction()
           
 Instruction[] InstructionList.getInstructions()
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, boolean value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.Boolean value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.Character value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, double value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, float value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, int value)
          Returns the right instruction for putting whatever you want onto the stack
static Instruction InstructionFactory.PUSH(ConstantPool cp, long value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.Number value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, ObjectType t)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.String value)
           
static Instruction Instruction.readInstruction(ByteSequence bytes)
          Read an instruction bytecode from an input stream and return the appropriate object.
 

Methods in org.aspectj.apache.bcel.generic with parameters of type Instruction
 InstructionHandle InstructionList.append(Instruction i)
          Append an instruction to the end of this list.
 InstructionHandle InstructionList.append(InstructionHandle ih, Instruction i)
          Append an instruction after instruction (handle) ih contained in this list.
 InstructionHandle InstructionList.append(Instruction i, Instruction j)
          Append a single instruction j after another instruction i, which must be in this list of course!
 InstructionHandle InstructionList.append(Instruction i, InstructionList il)
          Append another list after instruction i contained in this list.
 boolean InstructionList.contains(Instruction i)
           
 void InstructionList.delete(Instruction from, Instruction to)
          Remove instructions from instruction `from' to instruction `to' contained in this list.
 InstructionHandle InstructionList.insert(Instruction i)
          Insert an instruction at start of this list.
 InstructionHandle InstructionList.insert(InstructionHandle ih, Instruction i)
          Insert an instruction before instruction (handle) ih contained in this list.
 InstructionHandle InstructionList.insert(Instruction i, Instruction j)
          Insert a single instruction j before another instruction i, which must be in this list of course!
 InstructionHandle InstructionList.insert(Instruction i, InstructionList il)
          Insert another list before Instruction i contained in this list.
 void InstructionHandle.setInstruction(Instruction i)
          Replace current instruction contained in this handle.
 void BranchHandle.setInstruction(Instruction i)
          Set new contents.
 void InstVisitor.visitAALOAD(Instruction obj)
           
 void InstVisitor.visitAASTORE(Instruction obj)
           
 void InstVisitor.visitACONST_NULL(Instruction obj)
           
 void InstVisitor.visitAllocationInstruction(Instruction obj)
           
 void InstVisitor.visitALOAD(Instruction obj)
           
 void InstVisitor.visitANEWARRAY(Instruction obj)
           
 void InstVisitor.visitARETURN(Instruction obj)
           
 void InstVisitor.visitArithmeticInstruction(Instruction obj)
           
 void InstVisitor.visitArrayInstruction(Instruction obj)
           
 void InstVisitor.visitARRAYLENGTH(Instruction obj)
           
 void InstVisitor.visitASTORE(Instruction obj)
           
 void InstVisitor.visitATHROW(Instruction obj)
           
 void InstVisitor.visitBALOAD(Instruction obj)
           
 void InstVisitor.visitBASTORE(Instruction obj)
           
 void InstVisitor.visitBIPUSH(Instruction obj)
           
 void InstVisitor.visitBREAKPOINT(Instruction obj)
           
 void InstVisitor.visitCALOAD(Instruction obj)
           
 void InstVisitor.visitCASTORE(Instruction obj)
           
 void InstVisitor.visitCHECKCAST(Instruction obj)
           
 void InstVisitor.visitConstantPushInstruction(Instruction obj)
           
 void InstVisitor.visitConversionInstruction(Instruction obj)
           
 void InstVisitor.visitCPInstruction(Instruction obj)
           
 void InstVisitor.visitD2F(Instruction obj)
           
 void InstVisitor.visitD2I(Instruction obj)
           
 void InstVisitor.visitD2L(Instruction obj)
           
 void InstVisitor.visitDADD(Instruction obj)
           
 void InstVisitor.visitDALOAD(Instruction obj)
           
 void InstVisitor.visitDASTORE(Instruction obj)
           
 void InstVisitor.visitDCMPG(Instruction obj)
           
 void InstVisitor.visitDCMPL(Instruction obj)
           
 void InstVisitor.visitDCONST(Instruction obj)
           
 void InstVisitor.visitDDIV(Instruction obj)
           
 void InstVisitor.visitDLOAD(Instruction obj)
           
 void InstVisitor.visitDMUL(Instruction obj)
           
 void InstVisitor.visitDNEG(Instruction obj)
           
 void InstVisitor.visitDREM(Instruction obj)
           
 void InstVisitor.visitDRETURN(Instruction obj)
           
 void InstVisitor.visitDSTORE(Instruction obj)
           
 void InstVisitor.visitDSUB(Instruction obj)
           
 void InstVisitor.visitDUP_X1(Instruction obj)
           
 void InstVisitor.visitDUP_X2(Instruction obj)
           
 void InstVisitor.visitDUP(Instruction obj)
           
 void InstVisitor.visitDUP2_X1(Instruction obj)
           
 void InstVisitor.visitDUP2_X2(Instruction obj)
           
 void InstVisitor.visitDUP2(Instruction obj)
           
 void InstVisitor.visitExceptionThrower(Instruction obj)
           
 void InstVisitor.visitF2D(Instruction obj)
           
 void InstVisitor.visitF2I(Instruction obj)
           
 void InstVisitor.visitF2L(Instruction obj)
           
 void InstVisitor.visitFADD(Instruction obj)
           
 void InstVisitor.visitFALOAD(Instruction obj)
           
 void InstVisitor.visitFASTORE(Instruction obj)
           
 void InstVisitor.visitFCMPG(Instruction obj)
           
 void InstVisitor.visitFCMPL(Instruction obj)
           
 void InstVisitor.visitFCONST(Instruction obj)
           
 void InstVisitor.visitFDIV(Instruction obj)
           
 void InstVisitor.visitFieldInstruction(Instruction obj)
           
 void InstVisitor.visitFieldOrMethod(Instruction obj)
           
 void InstVisitor.visitFLOAD(Instruction obj)
           
 void InstVisitor.visitFMUL(Instruction obj)
           
 void InstVisitor.visitFNEG(Instruction obj)
           
 void InstVisitor.visitFREM(Instruction obj)
           
 void InstVisitor.visitFRETURN(Instruction obj)
           
 void InstVisitor.visitFSTORE(Instruction obj)
           
 void InstVisitor.visitFSUB(Instruction obj)
           
 void InstVisitor.visitGOTO_W(Instruction obj)
           
 void InstVisitor.visitGOTO(Instruction obj)
           
 void InstVisitor.visitGotoInstruction(Instruction obj)
           
 void InstVisitor.visitI2B(Instruction obj)
           
 void InstVisitor.visitI2C(Instruction obj)
           
 void InstVisitor.visitI2D(Instruction obj)
           
 void InstVisitor.visitI2F(Instruction obj)
           
 void InstVisitor.visitI2L(Instruction obj)
           
 void InstVisitor.visitI2S(Instruction obj)
           
 void InstVisitor.visitIADD(Instruction obj)
           
 void InstVisitor.visitIALOAD(Instruction obj)
           
 void InstVisitor.visitIAND(Instruction obj)
           
 void InstVisitor.visitIASTORE(Instruction obj)
           
 void InstVisitor.visitICONST(Instruction obj)
           
 void InstVisitor.visitIDIV(Instruction obj)
           
 void InstVisitor.visitIF_ACMPEQ(Instruction obj)
           
 void InstVisitor.visitIF_ACMPNE(Instruction obj)
           
 void InstVisitor.visitIF_ICMPEQ(Instruction obj)
           
 void InstVisitor.visitIF_ICMPGE(Instruction obj)
           
 void InstVisitor.visitIF_ICMPGT(Instruction obj)
           
 void InstVisitor.visitIF_ICMPLE(Instruction obj)
           
 void InstVisitor.visitIF_ICMPLT(Instruction obj)
           
 void InstVisitor.visitIF_ICMPNE(Instruction obj)
           
 void InstVisitor.visitIFEQ(Instruction obj)
           
 void InstVisitor.visitIFGE(Instruction obj)
           
 void InstVisitor.visitIFGT(Instruction obj)
           
 void InstVisitor.visitIfInstruction(Instruction obj)
           
 void InstVisitor.visitIFLE(Instruction obj)
           
 void InstVisitor.visitIFLT(Instruction obj)
           
 void InstVisitor.visitIFNE(Instruction obj)
           
 void InstVisitor.visitIFNONNULL(Instruction obj)
           
 void InstVisitor.visitIFNULL(Instruction obj)
           
 void InstVisitor.visitILOAD(Instruction obj)
           
 void InstVisitor.visitIMPDEP1(Instruction obj)
           
 void InstVisitor.visitIMPDEP2(Instruction obj)
           
 void InstVisitor.visitIMUL(Instruction obj)
           
 void InstVisitor.visitINEG(Instruction obj)
           
 void InstVisitor.visitINSTANCEOF(Instruction obj)
           
 void InstVisitor.visitIOR(Instruction obj)
           
 void InstVisitor.visitIREM(Instruction obj)
           
 void InstVisitor.visitIRETURN(Instruction obj)
           
 void InstVisitor.visitISHL(Instruction obj)
           
 void InstVisitor.visitISHR(Instruction obj)
           
 void InstVisitor.visitISTORE(Instruction obj)
           
 void InstVisitor.visitISUB(Instruction obj)
           
 void InstVisitor.visitIUSHR(Instruction obj)
           
 void InstVisitor.visitIXOR(Instruction obj)
           
 void InstVisitor.visitL2D(Instruction obj)
           
 void InstVisitor.visitL2F(Instruction obj)
           
 void InstVisitor.visitL2I(Instruction obj)
           
 void InstVisitor.visitLADD(Instruction obj)
           
 void InstVisitor.visitLALOAD(Instruction obj)
           
 void InstVisitor.visitLAND(Instruction obj)
           
 void InstVisitor.visitLASTORE(Instruction obj)
           
 void InstVisitor.visitLCMP(Instruction obj)
           
 void InstVisitor.visitLCONST(Instruction obj)
           
 void InstVisitor.visitLDC(Instruction obj)
           
 void InstVisitor.visitLDC2_W(Instruction obj)
           
 void InstVisitor.visitLDIV(Instruction obj)
           
 void InstVisitor.visitLLOAD(Instruction obj)
           
 void InstVisitor.visitLMUL(Instruction obj)
           
 void InstVisitor.visitLNEG(Instruction obj)
           
 void InstVisitor.visitLoadClass(Instruction obj)
           
 void InstVisitor.visitLoadInstruction(Instruction obj)
           
 void InstVisitor.visitLOR(Instruction obj)
           
 void InstVisitor.visitLREM(Instruction obj)
           
 void InstVisitor.visitLRETURN(Instruction obj)
           
 void InstVisitor.visitLSHL(Instruction obj)
           
 void InstVisitor.visitLSHR(Instruction obj)
           
 void InstVisitor.visitLSTORE(Instruction obj)
           
 void InstVisitor.visitLSUB(Instruction obj)
           
 void InstVisitor.visitLUSHR(Instruction obj)
           
 void InstVisitor.visitLXOR(Instruction obj)
           
 void InstVisitor.visitMONITORENTER(Instruction obj)
           
 void InstVisitor.visitMONITOREXIT(Instruction obj)
           
 void InstVisitor.visitNEW(Instruction obj)
           
 void InstVisitor.visitNEWARRAY(Instruction obj)
           
 void InstVisitor.visitNOP(Instruction obj)
           
 void InstVisitor.visitPOP(Instruction obj)
           
 void InstVisitor.visitPOP2(Instruction obj)
           
 void InstVisitor.visitPopInstruction(Instruction obj)
           
 void InstVisitor.visitPushInstruction(Instruction obj)
           
 void InstVisitor.visitRETURN(Instruction obj)
           
 void InstVisitor.visitReturnInstruction(Instruction obj)
           
 void InstVisitor.visitSALOAD(Instruction obj)
           
 void InstVisitor.visitSASTORE(Instruction obj)
           
 void InstVisitor.visitSIPUSH(Instruction obj)
           
 void InstVisitor.visitStackConsumer(Instruction obj)
           
 void InstVisitor.visitStackInstruction(Instruction obj)
           
 void InstVisitor.visitStackProducer(Instruction obj)
           
 void InstVisitor.visitStoreInstruction(Instruction obj)
           
 void InstVisitor.visitSWAP(Instruction obj)
           
 void InstVisitor.visitTypedInstruction(Instruction obj)
           
 void InstVisitor.visitUnconditionalBranch(Instruction obj)
           
 void InstVisitor.visitVariableLengthInstruction(Instruction obj)
           
 

Constructors in org.aspectj.apache.bcel.generic with parameters of type Instruction
InstructionList(Instruction i)
           
 

Uses of Instruction in org.aspectj.weaver.bcel
 

Methods in org.aspectj.weaver.bcel that return Instruction
static Instruction Utility.copyInstruction(Instruction i)
          Fix for Bugzilla #39479, #40109 patch contributed by Andy Clement Need to manually copy Select instructions - if we rely on the the 'fresh' object created by copy(), the InstructionHandle array 'targets' inside the Select object will not have been deep copied, so modifying targets in fresh will modify the original Select - not what we want ! (It is a bug in BCEL to do with cloning Select objects).
static Instruction Utility.createConstant(InstructionFactory fact, int value)
           
static Instruction Utility.createGet(InstructionFactory fact, Member signature)
           
static Instruction Utility.createInstanceof(InstructionFactory fact, ReferenceType t)
           
static Instruction Utility.createInvoke(InstructionFactory fact, BcelWorld world, Member signature)
           
static Instruction Utility.createInvoke(InstructionFactory fact, LazyMethodGen m)
           
static Instruction Utility.createInvoke(InstructionFactory fact, short kind, Member member)
          Create an invoke instruction
 Instruction BcelCflowAccessVar.createLoad(InstructionFactory fact)
           
 Instruction TypeAnnotationAccessVar.createLoad(InstructionFactory fact)
           
 Instruction BcelFieldRef.createLoad(InstructionFactory fact)
           
 Instruction AnnotationAccessVar.createLoad(InstructionFactory fact)
           
 Instruction BcelVar.createLoad(InstructionFactory fact)
           
static Instruction Utility.createSet(InstructionFactory fact, Member signature)
           
 Instruction BcelCflowAccessVar.createStore(InstructionFactory fact)
           
 Instruction TypeAnnotationAccessVar.createStore(InstructionFactory fact)
           
 Instruction BcelFieldRef.createStore(InstructionFactory fact)
           
 Instruction AnnotationAccessVar.createStore(InstructionFactory fact)
           
 Instruction BcelVar.createStore(InstructionFactory fact)
           
static Instruction Utility.createSuperInvoke(InstructionFactory fact, BcelWorld world, Member signature)
           
 

Methods in org.aspectj.weaver.bcel with parameters of type Instruction
static Instruction Utility.copyInstruction(Instruction i)
          Fix for Bugzilla #39479, #40109 patch contributed by Andy Clement Need to manually copy Select instructions - if we rely on the the 'fresh' object created by copy(), the InstructionHandle array 'targets' inside the Select object will not have been deep copied, so modifying targets in fresh will modify the original Select - not what we want ! (It is a bug in BCEL to do with cloning Select objects).
static boolean Utility.isConstantPushInstruction(Instruction i)