protected final @NotNull PyParameterList addParameters(@NotNull PyParameterList paramList, @NotNull Collection<String> newParameters) {
    if (!newParameters.isEmpty()) {
      final String commaSeparatedNames = StringUtil.join(newParameters, ", ");
      final StringBuilder paramListText = new StringBuilder(paramList.getText());
      paramListText.insert(1, commaSeparatedNames + (paramList.getParameters().length > 0 ? ", " : ""));
      final PyParameterList newElement = myGenerator.createParameterList(LanguageLevel.forElement(myFunction), paramListText.toString());
      return (PyParameterList)paramList.replace(newElement);
    }
    return paramList;
  }
protected final @NotNull PyParameterList addParameters(@NotNull PyParameterList paramList, @NotNull Collection<String> newParameters)