public static @NotNull PopupHandler installFollowingSelectionTreePopup(@NotNull JTree tree,
                                                                         @NotNull ActionGroup group,
                                                                         @NotNull String place) {
    return installConditionalPopup(tree, group, place, null, (comp, x, y) -> {
      return tree.getPathForLocation(x, y) != null &&
             Arrays.binarySearch(Objects.requireNonNull(tree.getSelectionRows()), tree.getRowForLocation(x, y)) > -1;
    });
  }
public static @NotNull PopupHandler installFollowingSelectionTreePopup(@NotNull JTree tree,
                                                                         @NotNull ActionGroup group,
                                                                         @NotNull String place)