protected @NotNull PyArgumentList addArguments(@NotNull PyArgumentList argList, @NotNull Collection<String> newArguments) {
    if (!newArguments.isEmpty()) {
      final String commaSeparatedNames = StringUtil.join(newArguments, ", ");
      final StringBuilder argListText = new StringBuilder(argList.getText());
      argListText.insert(1, commaSeparatedNames + (argList.getArguments().length > 0 ? ", " : ""));
      final PyArgumentList newElement = myGenerator.createArgumentList(LanguageLevel.forElement(argList), argListText.toString());
      return (PyArgumentList)argList.replace(newElement);
    }
    return argList;
  }
protected @NotNull PyArgumentList addArguments(@NotNull PyArgumentList argList, @NotNull Collection<String> newArguments)