code: public static final Object convertToObject(String value, Class type) {
          return convertToObject(value, type, null);
      }
docs: Convert an object from a String to the given type.
  
  @deprecated
  @param value the String to convert
  @param type  the type to which to convert the String
  @return the Object result of converting the String to the type.
  @throws TypeConverterNotFoundException if a TypeConverter for the target type can not be found.