@SuppressWarnings("signature") // conversion routine
  public static @ClassGetName String binaryNameToClassGetName(/*BinaryName*/ String bn) {
    if (bn.endsWith("[]")) {
      return binaryNameToFieldDescriptor(bn).replace('/', '.');
    } else {
      return bn;
    }
  }
@SuppressWarnings("signature") 
  public static @ClassGetName String binaryNameToClassGetName( 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 () } .