Class IfInstruction

All Implemented Interfaces:
Cloneable, InstructionTargeter, StackConsumer
Direct Known Subclasses:
IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL

public abstract class IfInstruction extends BranchInstruction implements StackConsumer
Super class for the IFxxx family of instructions.
  • Constructor Details

    • IfInstruction

      protected IfInstruction(short opcode, InstructionHandle target)
      Parameters:
      opcode - opcode of instruction
      target - Target instruction to branch to
  • Method Details

    • negate

      public abstract IfInstruction negate()
      Returns:
      negation of instruction, e.g. IFEQ.negate() == IFNE