private @Nullable List<Node> getChildrenFromCachedPresentation(@NotNull AsyncTreeModel.Node parent) {
    var cachedPresentation = tree.cachedPresentation;
    if (cachedPresentation == null) return null;
    for (TreePath parentPath : parent.paths) {
      var cachedChildren = cachedPresentation.getChildren(parentPath.getLastPathComponent());
      if (cachedChildren != null) {
        return ContainerUtil.map(cachedChildren, child -> toNode(parent, cachedPresentation, parentPath.pathByAddingChild(child)));
      }
    }
    return null;
  }
private @Nullable List<Node> getChildrenFromCachedPresentation(@NotNull AsyncTreeModel.Node parent)