public void fireItemSelected(final @Nullable LookupElement item, char completionChar) {
    if (item != null && item.requiresCommittedDocuments()) {
      PsiDocumentManager.getInstance(project).commitAllDocuments();
    }
    myArranger.itemSelected(item, completionChar);
    if (!myListeners.isEmpty()) {
      LookupEvent event = new LookupEvent(this, item, completionChar);
      for (LookupListener listener : myListeners) {
        try {
          listener.itemSelected(event);
        }
        catch (Throwable e) {
          LOG.error(e);
        }
      }
    }
  }
public void fireItemSelected(final @Nullable LookupElement item, char completionChar)