code: public void addParam(String name, String value, int type) {
          // Current size usually is equal to the position
          params.add(new NameValuePair(type, name, value, params.size()));
      }
docs: Support method to add a new param to this custom variant
  @param name the param name
  @param value the value of this parameter
  @param type the type of this parameter