code: public Query addParameter(String name, final Collection<?> values) {
          if(values == null) {
              throw new NullPointerException("Array parameter cannot be null");
          }
  
          return addParameter(name, values.toArray());
      }
docs: Set an array parameter.<br>
  See {@link #addParameter(String, Object...)} for details