protected @Nls @Nullable String getVariantHint(V variant) {
    return myVariantHintProvider == null ? null : myVariantHintProvider.apply(variant); //NON-NLS
  }
protected @Nls @Nullable String getVariantHint(V variant)