@SuppressWarnings("deprecation")
  private static @Nullable String getText3(LookupItem<?> item) {
    Object o = item.getObject();
    String text;
    if (o instanceof LookupValueWithUIHint) {
      text = ((LookupValueWithUIHint)o).getTypeHint();
    }
    else {
      text = (String)item.getAttribute(LookupItem.TYPE_TEXT_ATTR);
    }
    return text;
  }
@SuppressWarnings("deprecation")
  private static @Nullable String getText3(LookupItem<?> item)