public static @NotNull TreePath getPath(@NotNull TreeNode aRootNode, @NotNull TreeNode aNode) {
    TreeNode[] nodes = getPathFromRootTo(aRootNode, aNode, true);
    return new CachingTreePath(nodes);
  }
public static @NotNull TreePath getPath(@NotNull TreeNode aRootNode, @NotNull TreeNode aNode)