public final void restoreExpandedPaths(){
    if (myTree == null || myTreeStateRestored.getAndSet(true)) return;
    TreeState treeState = myReadTreeState.get(getSubId());
    if (treeState != null && !treeState.isEmpty()) {
      var initListener = new MyTreeStateListener();
      myTree.addTreeExpansionListener(initListener);
      treeState.applyTo(myTree);
    }
    else if (myTree.isSelectionEmpty()) {
      TreeUtil.promiseSelectFirst(myTree);
      myProject.getService(ProjectViewInitNotifier.class).initCompleted();
    }
  }
public final void restoreExpandedPaths()