class ProjectGeneratorSetupExample {

	// tag::code[]
	public ProjectGenerator createProjectGenerator(ApplicationContext appContext) {<FILL_FUNCTION_BODY>}
	// end::code[]

}

		return new ProjectGenerator((context) -> {
			context.setParent(appContext);
			context.registerBean(SampleContributor.class, SampleContributor::new);
		});
	
<no_super_class>