@Override
  public void setDisplayName(String name) {
    var module = myFacet.getModule();
    // facet names must be unique within the same module and facet type
    var facetNameExists = myFacetConfigurables.keySet().stream()
      .filter(facet -> facet.getModule() == module && facet.getTypeId() == myFacet.getTypeId())
      .map(facet -> myFacetConfigurables.get(facet))
      .anyMatch(facetConfigurable -> name.equals(facetConfigurable.getDisplayName()));
    if (!facetNameExists) {
      getFacetsConfigurator().getOrCreateModifiableModel(module).rename(myFacet, name);
      myFacetName = name;
    }
  }
@Override
  public void setDisplayName(String name)