public static @Nullable <T extends NavigatablePsiElement> JBPopup navigateOrCreatePopup(T @NotNull [] targets,
                                                                                @NlsContexts.PopupTitle String title,
                                                                                @NlsContexts.TabTitle String findUsagesTitle,
                                                                                ListCellRenderer<? super T> listRenderer,
                                                                                @Nullable BackgroundUpdaterTask listUpdaterTask,
                                                                                @NotNull Consumer<? super T[]> consumer) {
    return new NavigateOrPopupHelper<>(targets, title)
      .setFindUsagesTitle(findUsagesTitle)
      .setListRenderer(listRenderer)
      .setListUpdaterTask(listUpdaterTask)
      .setTargetsConsumer(consumer)
      .navigateOrCreatePopup();
  }
public static @Nullable <T extends NavigatablePsiElement> JBPopup navigateOrCreatePopup(T @NotNull [] targets,
                                                                                @NlsContexts.PopupTitle String title,
                                                                                @NlsContexts.TabTitle String findUsagesTitle,
                                                                                ListCellRenderer<? super T> listRenderer,
                                                                                @Nullable BackgroundUpdaterTask listUpdaterTask,
                                                                                @NotNull Consumer<? super T[]> consumer)