class OnLanguageCondition extends ProjectGenerationCondition {

	@Override
	protected boolean matches(ProjectDescription description, ConditionContext context,
			AnnotatedTypeMetadata metadata) {<FILL_FUNCTION_BODY>}

}

		if (description.getLanguage() == null) {
			return false;
		}
		String languageId = (String) metadata.getAllAnnotationAttributes(ConditionalOnLanguage.class.getName())
			.getFirst("value");
		Language language = Language.forId(languageId, null);
		return description.getLanguage().id().equals(language.id());
	
<methods>public non-sealed void <init>() ,public boolean matches(org.springframework.context.annotation.ConditionContext, org.springframework.core.type.AnnotatedTypeMetadata) <variables>