class OnBuildSystemCondition extends ProjectGenerationCondition {

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

}

		MultiValueMap<String, Object> attributes = metadata
			.getAllAnnotationAttributes(ConditionalOnBuildSystem.class.getName());
		String buildSystemId = (String) attributes.getFirst("value");
		String dialect = (String) attributes.getFirst("dialect");
		BuildSystem buildSystem = description.getBuildSystem();
		if (buildSystem.id().equals(buildSystemId)) {
			if (StringUtils.hasText(dialect)) {
				return dialect.equals(buildSystem.dialect());
			}
			return true;
		}
		return false;
	
<methods>public non-sealed void <init>() ,public boolean matches(org.springframework.context.annotation.ConditionContext, org.springframework.core.type.AnnotatedTypeMetadata) <variables>