src/main/java/org/plumelib/bcelutil/JvmUtil.java
@SuppressWarnings("signature") // conversion routine
  public static @ClassGetName String binaryNameToClassGetName(/*BinaryName*/ String bn) {
    if (bn.endsWith("[]")) {
      return binaryNameToFieldDescriptor(bn).replace('/', '.');
    } else {
      return bn;
    }
  }
@SuppressWarnings("signature") // conversion routine
  public static @ClassGetName String binaryNameToClassGetName(/*BinaryName*/ String bn) {
    if (bn.endsWith("[]")) {
      return binaryNameToFieldDescriptor(bn).replace('/', '.');
    } else {
      return bn;
    }
  }
@ SuppressWarnings ( "signature" ) // conversion routine public static @ ClassGetName String binaryNameToClassGetName ( /*BinaryName*/ String bn ) { if ( bn . endsWith ( "[]" ) ) { return binaryNameToFieldDescriptor ( bn ) . replace ( ' ' , ' ' ) ; } else { return bn ; } }
Convert from a BinaryName to the format of {@link Class#getName()}.

@param bn the binary name to convert
@return the class name, in Class.getName format
Convert from a BinaryName to the format of { @link Class#getName () } .