/** * Appends the given instruction. * @param instruction the instruction to be appended. * @return the builder itself. */ public InstructionSequenceBuilder appendInstruction(Instruction instruction) { return add(instruction); }
/** * Appends the given instruction. * @param instruction the instruction to be appended. * @return the builder itself. */ public InstructionSequenceBuilder appendInstruction(Instruction instruction) { return add(instruction); }
/** * Appends the given instruction. * @param instruction the instruction to be appended. * @return the builder itself. */ public InstructionSequenceBuilder appendInstruction(Instruction instruction) { return add(instruction); }
public InstructionSequenceBuilder tableswitch(int defaultOffset, int lowCase, int highCase, int[] jumpOffsets) { return add(new TableSwitchInstruction(InstructionConstants.OP_TABLESWITCH, defaultOffset, lowCase, highCase, jumpOffsets)); }
public InstructionSequenceBuilder iinc(int variableIndex, int constant) { return add(new VariableInstruction(InstructionConstants.OP_IINC, variableIndex, constant)); }
public InstructionSequenceBuilder tableswitch(int defaultOffset, int lowCase, int highCase, int[] jumpOffsets) { return add(new TableSwitchInstruction(InstructionConstants.OP_TABLESWITCH, defaultOffset, lowCase, highCase, jumpOffsets)); }
public InstructionSequenceBuilder lookupswitch(int defaultOffset, int[] cases, int[] jumpOffsets) { return add(new LookUpSwitchInstruction(InstructionConstants.OP_LOOKUPSWITCH, defaultOffset, cases, jumpOffsets)); }
public InstructionSequenceBuilder lookupswitch(int defaultOffset, int[] cases, int[] jumpOffsets) { return add(new LookUpSwitchInstruction(InstructionConstants.OP_LOOKUPSWITCH, defaultOffset, cases, jumpOffsets)); }
public InstructionSequenceBuilder lookupswitch(int defaultOffset, int[] cases, int[] jumpOffsets) { return add(new LookUpSwitchInstruction(InstructionConstants.OP_LOOKUPSWITCH, defaultOffset, cases, jumpOffsets)); }
public InstructionSequenceBuilder tableswitch(int defaultOffset, int lowCase, int highCase, int[] jumpOffsets) { return add(new TableSwitchInstruction(InstructionConstants.OP_TABLESWITCH, defaultOffset, lowCase, highCase, jumpOffsets)); }
public InstructionSequenceBuilder iinc(int variableIndex, int constant) { return add(new VariableInstruction(InstructionConstants.OP_IINC, variableIndex, constant)); }
public InstructionSequenceBuilder iinc(int variableIndex, int constant) { return add(new VariableInstruction(InstructionConstants.OP_IINC, variableIndex, constant)); }
public InstructionSequenceBuilder iconst_4() { return add(new SimpleInstruction(InstructionConstants.OP_ICONST_4)); }
public InstructionSequenceBuilder pop() { return add(new SimpleInstruction(InstructionConstants.OP_POP)); }
public InstructionSequenceBuilder dup2_x2() { return add(new SimpleInstruction(InstructionConstants.OP_DUP2_X2)); }
public InstructionSequenceBuilder fneg() { return add(new SimpleInstruction(InstructionConstants.OP_FNEG)); }
public InstructionSequenceBuilder d2i() { return add(new SimpleInstruction(InstructionConstants.OP_D2I)); }
public InstructionSequenceBuilder fcmpl() { return add(new SimpleInstruction(InstructionConstants.OP_FCMPL)); }
public InstructionSequenceBuilder instanceof_(int constantIndex) { return add(new ConstantInstruction(InstructionConstants.OP_INSTANCEOF, constantIndex)); }
public InstructionSequenceBuilder ifnonnull(int branchOffset) { return add(new BranchInstruction(InstructionConstants.OP_IFNONNULL, branchOffset)); }