class WebComponentGenerator {

    public static String generateModule(
            WebComponentExporterFactory<? extends Component> factory,
            String frontendURI, boolean compatibilityMode) {
        Objects.requireNonNull(factory);
        Objects.requireNonNull(frontendURI);

        WebComponentConfiguration<? extends Component> config = new WebComponentExporter.WebComponentConfigurationFactory()
                .create(factory.create());

        return generateModule(config, frontendURI, false, compatibilityMode);
    }

    private  WebComponentGenerator();

}