Tree (@NotNull Pair<XInstanceEvaluator, String> descriptor) { final XDebuggerTree tree = new XDebuggerTree(myProject, myProvider, myPosition, XDebuggerActions.INSPECT_TREE_POPUP_GROUP, myMarkers); final XValueNodeImpl root = new XValueNodeImpl(tree, null, descriptor.getSecond(), new InstanceEvaluatorTreeRootValue(descriptor.getFirst(), descriptor.getSecond())); tree.setRoot(root, false); Condition<TreeNode> visibleRootCondition = node -> node.getParent() == root; tree.expandNodesOnLoad(visibleRootCondition); tree.selectNodeOnLoad(visibleRootCondition, Conditions.alwaysFalse()); return tree; }