@ApiStatus.Internal
  public static Future<Collection<Usage>> startFindUsagesWithResult(@NotNull PsiElement element,
                                                                    @NotNull RelativePoint popupPosition,
                                                                    @Nullable Editor editor,
                                                                    @Nullable SearchScope scope,
                                                                    @Nls @NotNull String title) {
    Project project = element.getProject();
    FindUsagesManager findUsagesManager = ((FindManagerImpl)FindManager.getInstance(project)).getFindUsagesManager();
    FindUsagesHandlerBase handler;
    ShowUsagesActionHandler actionHandler;
    FindUsagesOptions options;
    try (AccessToken ignore = SlowOperations.startSection(SlowOperations.ACTION_PERFORM)) {
      handler = findUsagesManager.getFindUsagesHandler(element, USAGES_WITH_DEFAULT_OPTIONS);
      if (handler == null) return null;
      //noinspection deprecation
      DataContext dataContext = DataManager.getInstance().getDataContext();
      options = handler.getFindUsagesOptions(dataContext);
      if (options instanceof PersistentFindUsagesOptions) {
        ((PersistentFindUsagesOptions)options).setDefaults(project);
      }
      if (scope != null) {
        options.searchScope = scope;
      }
      else {
        options.searchScope = FindUsagesOptions.findScopeByName(project, dataContext, FindSettings.getInstance().getDefaultScopeName());
      }
      actionHandler = createActionHandler(handler, options, title);
    }
    return showElementUsagesWithResult(ShowUsagesParameters.initial(project, editor, popupPosition), actionHandler);
  }
@ApiStatus.Internal
  public static Future<Collection<Usage>> startFindUsagesWithResult(@NotNull PsiElement element,
                                                                    @NotNull RelativePoint popupPosition,
                                                                    @Nullable Editor editor,
                                                                    @Nullable SearchScope scope,
                                                                    @Nls @NotNull String title)