@Deprecated(forRemoval = true)
  public void setRootImmediately(@NotNull Object object) {
    Node node = new Node(object, LeafState.NEVER);
    node.insertPath(new CachingTreePath(object));
    tree.root = node;
    tree.map.put(object, node);
  }
@Deprecated(forRemoval = true)
  public void setRootImmediately(@NotNull Object object)