private static void showAutoImportHints(@NotNull ProgressIndicator progressIndicator,
                                          @Nullable TextEditorHighlightingPass showAutoImportPass) {
    ThreadingAssertions.assertEventDispatchThread();
    if (showAutoImportPass != null) {
      ProgressManager.getInstance().executeProcessUnderProgress(() -> showAutoImportPass.doApplyInformationToEditor(), progressIndicator);
    }
  }
private static void showAutoImportHints(@NotNull ProgressIndicator progressIndicator,
                                          @Nullable TextEditorHighlightingPass showAutoImportPass)