public void findUsages(PsiElement @NotNull [] primaryElements,
                         PsiElement @NotNull [] secondaryElements,
                         @NotNull FindUsagesHandlerBase handler,
                         @NotNull FindUsagesOptions findUsagesOptions,
                         boolean toSkipUsagePanelWhenOneUsage) {
    boolean shouldedOpenInNewTab = shouldOpenInNewTab();
    ReadAction.nonBlocking(() -> createPresentation(primaryElements[0], findUsagesOptions, shouldedOpenInNewTab))
      .expireWith(handler.getProject())
      .finishOnUiThread(ModalityState.nonModal(),
                        presentation -> doFindUsages(primaryElements, secondaryElements, handler, findUsagesOptions, toSkipUsagePanelWhenOneUsage, presentation))
      .submit(AppExecutorUtil.getAppExecutorService());
  }
public void findUsages(PsiElement @NotNull [] primaryElements,
                         PsiElement @NotNull [] secondaryElements,
                         @NotNull FindUsagesHandlerBase handler,
                         @NotNull FindUsagesOptions findUsagesOptions,
                         boolean toSkipUsagePanelWhenOneUsage)