@ApiStatus.Internal
  public static Object getItem(Object value) {
    if (value instanceof ItemWithPresentation<?> iwp) value = iwp.getItem();
    if (value instanceof PsiItemWithSimilarity<?> iws) value = iws.getValue();
    return value;
  }
@ApiStatus.Internal
  public static Object getItem(Object value)