private void replaceSeveralImportsWithOne(@NotNull List<PyImportStatementBase> result,
                                              @NotNull Collection<? extends PyImportStatementBase> oldImports,
                                              @NotNull PyFromImportStatement newImport) {
      for (PyImportStatementBase replaced : oldImports) {
        myNewImportToLineComments.putValues(newImport, myOldImportToLineComments.get(replaced));
        myNewImportToInnerComments.putValues(newImport, myOldImportToInnerComments.get(replaced));
      }
      result.add(newImport);
    }
private void replaceSeveralImportsWithOne(@NotNull List<PyImportStatementBase> result,
                                              @NotNull Collection<? extends PyImportStatementBase> oldImports,
                                              @NotNull PyFromImportStatement newImport)