@Override
 public void renderElement(LookupElementPresentation presentation) {
   myTypeItems.get(0).renderElement(presentation);
   presentation.setItemText(getLookupString());
   presentation.setTailText(null);
   presentation.setTypeText(null);
 }
  public void renderElement(LookupElementPresentation presentation) {

    presentation.setItemText(getLookupString());
    presentation.setTypeText(parameter.getType().toString());

    if (!parameter.getValue().isEmpty())
      presentation.appendTailText("(" + parameter.getValue() + ")", true);

    presentation.setIcon(SilexIcons.Parameter);
  }
 public void setTypeText(@Nullable String text) {
   setTypeText(text, null);
 }
 @Override
 public void renderElement(LookupElementPresentation presentation) {
   super.renderElement(presentation);
   presentation.setTypeText(myTypeText);
   presentation.setIcon(PlatformIcons.METHOD_ICON);
 }