protected static String branchString(DalvInsn insn) {
    TargetInsn ti = (TargetInsn) insn;
    int address = ti.getTargetAddress();

    return (address == (char) address) ? Hex.u2(address) : Hex.u4(address);
  }
Helper method to return a branch address string.

@param insn {@code non-null;} the instruction in question
@return {@code non-null;} the string form of the instruction's branch target
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/InsnFormat.java