public static LookupElementPresentation renderElement(LookupElement element) {
   LookupElementPresentation presentation = new LookupElementPresentation();
   element.renderElement(presentation);
   return presentation;
 }
Exemplo n.º 2
0
 private static LookupElementPresentation renderItemApproximately(LookupElement item) {
   final LookupElementPresentation p = new LookupElementPresentation();
   item.renderElement(p);
   return p;
 }