public XDebuggerTreeRestorer restoreState(@NotNull XDebuggerTree tree) {
    ThreadingAssertions.assertEventDispatchThread();
    XDebuggerTreeRestorer restorer = null;
    if (myRootInfo != null) {
      restorer = new XDebuggerTreeRestorer(tree, myLastVisibleNodeRect);
      tree.setCurrentRestorer(restorer);
      restorer.restore(tree.getRoot(), myRootInfo);
    }
    return restorer;
  }
public XDebuggerTreeRestorer restoreState(@NotNull XDebuggerTree tree)