static void doClickAction(AnActionEvent e, Collection<? extends Define> set, @PopupTitle String title) {
    if (set.size() == 1) {
      final Navigatable n = (Navigatable)set.iterator().next().getPsiElement();
      OpenSourceUtil.navigate(true, n);
    }
    else {
      final Define[] array = set.toArray(new Define[0]);
      NavigationUtil.getPsiElementPopup(ContainerUtil.map(array, define -> define.getPsiElement(), PsiElement.EMPTY_ARRAY), title)
        .show(new RelativePoint((MouseEvent)e.getInputEvent()));
    }
  }
static void doClickAction(AnActionEvent e, Collection<? extends Define> set, @PopupTitle String title)