code: public Object convert(Class<?> targetType, Object value) {
          if (value == null) {
              return null;
          }
  
          Converter converter = getConverter(value.getClass(), targetType);
          if (converter == null) {
              throw new IllegalArgumentException(
                      "No converter from " + value.getClass() + " to " + targetType.getName());
          } else {
              return converter.convert(targetType, value);
          }
      }
docs: Do Conversion.
  
  @param targetType
  @param value
  @return