protected static String branchComment(DalvInsn insn) {
    TargetInsn ti = (TargetInsn) insn;
    int offset = ti.getTargetOffset();

    return (offset == (short) offset) ? Hex.s2(offset) : Hex.s4(offset);
  }
Helper method to return the comment for a branch.

@param insn {@code non-null;} the instruction in question
@return {@code non-null;} the comment
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/InsnFormat.java