LookupElement (Set<? super LookupElement> items, PsiType type) { final LookupElement item = PsiTypeLookupItem.createLookupItem(type, null); items.add(item); item.putUserData(TemplateLookupSelectionHandler.KEY_IN_LOOKUP_ITEM, new JavaTemplateLookupSelectionHandler()); return item; }