NodeInfo (final XDebuggerTreeNode node, boolean selected) { if (node instanceof RestorableStateNode valueNode) { if (valueNode.isComputed()) { return new NodeInfo(valueNode.getName(), valueNode.getRawValue(), selected); } } return null; }