class IfTestInstruction extends ConditionalJumpInstruction {

  public IfTestInstruction(Instruction instruction, int codeAdress) {
    super(instruction, codeAdress);
  }

  @Override
  protected IfStmt ifStatement(DexBody body) {<FILL_FUNCTION_BODY>}
}

    Instruction22t i = (Instruction22t) instruction;
    Local one = body.getRegisterLocal(i.getRegisterA());
    Local other = body.getRegisterLocal(i.getRegisterB());
    BinopExpr condition = getComparisonExpr(one, other);
    IfStmt jif = Jimple.v().newIfStmt(condition, targetInstruction.getUnit());
    // setUnit() is called in ConditionalJumpInstruction

    addTags(jif);
    if (IDalvikTyper.ENABLE_DVKTYPER) {
      // Debug.printDbg(IDalvikTyper.DEBUG, "constraint if: "+ jif +" condition: "+ condition);
      DalvikTyper.v().addConstraint(condition.getOp1Box(), condition.getOp2Box());
    }

    return jif;

  
<methods>public void <init>(org.jf.dexlib2.iface.instruction.Instruction, int) ,public void deferredJimplify(soot.dexpler.DexBody) ,public void jimplify(soot.dexpler.DexBody) <variables>