public static @NotNull Promise<TreePath> promiseSelect(@NotNull JTree tree, @NotNull TreePath path) {
    return promiseSelect(tree, new TreeVisitor.ByTreePath<>(path, node -> node));
  }
public static @NotNull Promise<TreePath> promiseSelect(@NotNull JTree tree, @NotNull TreePath path)