String (@NotNull XValuePresentation presentation) { XValuePresentationTextExtractor extractor = new XValuePresentationTextExtractor(); presentation.renderValue(extractor); return extractor.getText(); }