default Path path() {
		final int[] p = Trees.pathFromRoot(self(), 0);
		return Path.of(p);
	}
Return the {@link Path} of {@code this} tree, such that
{@snippet lang="java":
final Tree<Integer, ?> tree = null; // @replace substring='null' replacement="..."
final Tree.Path path = tree.path();
assert tree == tree.getRoot()
    .childAtPath(path)
    .orElse(null);
}

@since 5.1

@return the path from the root element to {@code this} node.
jenetics.ext/src/main/java/io/jenetics/ext/util/Tree.java