code: private Node newParameter(JSType type) {
      Node paramNode = Node.newString(Token.NAME, "");
      paramNode.setJSType(type);
      root.addChildToBack(paramNode);
      return paramNode;
    }
docs: Add a parameter to the list with the given type.