@NotNull
    private List<PyImportStatementBase> transformImportsInGroup(@NotNull List<PyImportStatementBase> imports) {
      final List<PyImportStatementBase> result = new ArrayList<>();

      for (PyImportStatementBase statement : imports) {
        if (statement instanceof PyImportStatement) {
          transformPlainImport(result, (PyImportStatement)statement);
        }
        else if (statement instanceof PyFromImportStatement) {
          transformFromImport(result, (PyFromImportStatement)statement);
        }
      }
      return result;
    }
@NotNull
    private List<PyImportStatementBase> transformImportsInGroup(@NotNull List<PyImportStatementBase> imports)