LookupElement (Set<? super LookupElement> items, PsiElement element) { final LookupElement item = LookupItemUtil.objectToLookupItem(element); items.add(item); item.putUserData(TemplateLookupSelectionHandler.KEY_IN_LOOKUP_ITEM, new JavaTemplateLookupSelectionHandler()); return item; }