@SuppressWarnings("unchecked")
  static Facet<?> createFacetFromStateRawJ(@NotNull Module module, @NotNull FacetType<?, ?> facetType, @NotNull InvalidFacet invalidFacet) {
    return FacetManagerBridge.Companion.createFacetFromStateRaw$intellij_platform_lang_impl(
      module, facetType,
      invalidFacet.getConfiguration().getFacetState(),
      invalidFacet.getUnderlyingFacet()
    );
  }
@SuppressWarnings("unchecked")
  static Facet<?> createFacetFromStateRawJ(@NotNull Module module, @NotNull FacetType<?, ?> facetType, @NotNull InvalidFacet invalidFacet)