code: @Deprecated
      public static <T> T valueOf(Class<T> type, String value) {
          return valueOf(type, value, null);
      }
docs: Converts a String representation into a value of a given type. This method calls
  {@code valueOf(type, value, null)}.
  
  @param <T> the target class
  @param type the target class
  @param value the string to convert
  @return the converted value
  @throws IllegalArgumentException if all conversion attempts fail