public static void startFindUsages(@NotNull PsiElement element, @NotNull RelativePoint popupPosition, @Nullable Editor editor) {
    ReadAction.nonBlocking(() -> getUsagesTitle(element))
      .expireWhen(() -> editor != null && editor.isDisposed())
      .finishOnUiThread(ModalityState.nonModal(), title -> startFindUsagesWithResult(element, popupPosition, editor, null, title))
      .submit(AppExecutorUtil.getAppExecutorService());
  }
public static void startFindUsages(@NotNull PsiElement element, @NotNull RelativePoint popupPosition, @Nullable Editor editor)