public static LookupElementPresentation renderElement(LookupElement element) {
   LookupElementPresentation presentation = new LookupElementPresentation();
   element.renderElement(presentation);
   return presentation;
 }
예제 #2
0
 private static LookupElementPresentation renderItemApproximately(LookupElement item) {
   final LookupElementPresentation p = new LookupElementPresentation();
   item.renderElement(p);
   return p;
 }