@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    final FacetType<?, ?> type = myFacetType;
    if (type == null) return;

    final FacetTypeId<?> underlyingFacetType = type.getUnderlyingFacetType();
    if (underlyingFacetType == null) {
      addFacetToModule(type);
    }
    else {
      addSubFacet(type, underlyingFacetType);
    }
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)