protected static String branchString(DalvInsn insn){
  TargetInsn ti=(TargetInsn)insn;
  int address=ti.getTargetAddress();
  return (address == (char)address) ? Hex.u2(address) : Hex.u4(address);
}

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 .
