code: @Nullable
    private static Converter<List<String>, Object> createPrimitiveTypeConverter(final Class<?> resultClass) {
      Object defaultValue = defaultValue(resultClass);
  
      if (defaultValue == null) {
        // For primitive type, the default value shouldn't be null
        return null;
      }
  
      return new BasicConverter(defaultValue) {
        @Override
        protected Object convert(String value) throws Exception {
          return valueOf(value, resultClass);
        }
      };
    }
docs: Creates a converter function that converts value into primitive type.
  
  @return A converter function or {@code null} if the given type is not primitive type or boxed type