public static @NotNull List<Object> collectSelectedUserObjects(@NotNull JTree tree) {
    return collectSelectedObjects(tree, TreeUtil::getLastUserObject);
  }
public static @NotNull List<Object> collectSelectedUserObjects(@NotNull JTree tree)