class BomRangesInfoContributor implements InfoContributor {

	private final InitializrMetadataProvider metadataProvider;

	public BomRangesInfoContributor(InitializrMetadataProvider metadataProvider) {
		this.metadataProvider = metadataProvider;
	}

	@Override
	public void contribute(Info.Builder builder) {<FILL_FUNCTION_BODY>}

}

		Map<String, Object> details = new LinkedHashMap<>();
		this.metadataProvider.get().getConfiguration().getEnv().getBoms().forEach((k, v) -> {
			if (v.getMappings() != null && !v.getMappings().isEmpty()) {
				Map<String, Object> bom = new LinkedHashMap<>();
				v.getMappings().forEach((it) -> {
					String requirement = "Spring Boot " + it.determineCompatibilityRangeRequirement();
					bom.put(it.getVersion(), requirement);
				});
				details.put(k, bom);
			}
		});
		if (!details.isEmpty()) {
			builder.withDetail("bom-ranges", details);
		}
	
<no_super_class>