default boolean autoImportReferenceAtCursor(@NotNull Editor editor, @NotNull PsiFile file) {
    ThreadingAssertions.assertEventDispatchThread();
    Future<BooleanSupplier> future = ApplicationManager.getApplication().executeOnPooledThread(() -> ReadAction.compute(() -> {
      if (editor.isDisposed() || file.getProject().isDisposed()) return null;
      int offset = editor.getCaretModel().getOffset();
      return computeAutoImportAtOffset(editor, file, offset, true);
    }));
    try {
      BooleanSupplier fix = future.get();
      if (fix != null) {
        return fix.getAsBoolean();
      }
    }
    catch (InterruptedException | ExecutionException e) {
      throw new RuntimeException(e);
    }
    return false;
  }
default boolean autoImportReferenceAtCursor(@NotNull Editor editor, @NotNull PsiFile file)