boolean (LookupElement item, PrefixMatcher matcher) { LookupElementPresentation presentation = LookupElementPresentation.renderElement(item); if (containsDummyIdentifier(presentation.getItemText()) || containsDummyIdentifier(presentation.getTailText()) || containsDummyIdentifier(presentation.getTypeText())) { return false; } myCellRenderer.itemAdded(item, presentation); LookupArranger arranger = myArranger; arranger.registerMatcher(item, matcher); arranger.addElement(item, presentation); return true; }