private static <F extends Facet, C extends FacetConfiguration> F createFacet(final Module module,
                                                                               final FacetType<F, C> type, @NotNull String facetName) {
    return FacetManager.getInstance(module).createFacet(type, facetName, type.createDefaultConfiguration(), null);
  }
private static <F extends Facet, C extends FacetConfiguration> F createFacet(final Module module,
                                                                               final FacetType<F, C> type, @NotNull String facetName)