void (LookupItem<?> item, LookupElementPresentation presentation) { presentation.setIcon(getRawIcon(item)); presentation.setItemText(getName(item)); presentation.setItemTextBold(item.getAttribute(LookupItem.HIGHLIGHTED_ATTR) != null); presentation.setTailText(getText2(item), item.getAttribute(LookupItem.TAIL_TEXT_SMALL_ATTR) != null); presentation.setTypeText(getText3(item), null); }