code: public MethodParam newParam(String name, String type)
     {
        MethodParam p = new MethodParam();
        p.setName(name);
        p.setType(type);
        return p;
     }
docs: new param
  
  @param name param name
  @param type param type
  @return new param