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) {
    return navigateOrCreatePopup(targets, title, findUsagesTitle, listRenderer, listUpdaterTask, selectedElements -> {
      for (NavigatablePsiElement selected : selectedElements) {
        if (selected.isValid()) {
          selected.navigate(true);
        }
      }
    });
  }
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)