code: public void addParameter(String name, ParameterType type) {
          parameters.put(name, new Parameter(name, type));
      }
docs: Add a (optional) parameter.
  @param name the name of parameter.
  @param type the type of parameter.