@Override
  public @Nullable LookupElement getCurrentItem() {
    synchronized (uiLock) {
      LookupElement item = list.getSelectedValue();
      return item instanceof EmptyLookupItem ? null : item;
    }
  }
@Override
  public @Nullable LookupElement getCurrentItem()