code: public static <T> QueryParameterValue array(T[] array, Class<T> clazz) {
      return array(array, classToType(clazz));
    }
docs: Creates a {@code QueryParameterValue} object with a type of ARRAY, and an array element type
  based on the given class.