void (final XDebuggerTreeNode treeNode, final XDebuggerTreeState.NodeInfo nodeInfo) { if (nodeInfo.isExpanded()) { myTree.expandPath(treeNode.getPath()); treeNode.getLoadedChildren().forEach(child -> restoreNode(child, nodeInfo)); myNode2State.put(treeNode, nodeInfo); } }