void (@NotNull PresentationData presentation) { assert myIsCorrectThread.get(); setIcon(getCurrentIcon()); presentation.setPresentableText(myName); presentation.setIcon(getIcon()); if (StringUtil.isNotEmpty(myTitle)) { presentation.addText(myTitle + ": ", SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); } String hint = myHintData.getCurrentHint(this); boolean isNotEmptyName = StringUtil.isNotEmpty(myName); if (isNotEmptyName && myTitle != null || hint != null) { presentation.addText(myName, SimpleTextAttributes.REGULAR_ATTRIBUTES); } if (StringUtil.isNotEmpty(hint)) { if (isNotEmptyName) { hint = " " + hint; } presentation.addText(hint, SimpleTextAttributes.GRAY_ATTRIBUTES); } }