class ManagedDependenciesKotlinVersionResolver implements KotlinVersionResolver {

	private final MavenVersionResolver versionResolver;

	private final Function<ProjectDescription, String> fallback;

	public ManagedDependenciesKotlinVersionResolver(MavenVersionResolver versionResolver,
			Function<ProjectDescription, String> fallback) {
		this.versionResolver = versionResolver;
		this.fallback = fallback;
	}

	@Override
	public String resolveKotlinVersion(ProjectDescription description) {<FILL_FUNCTION_BODY>}

}

		String kotlinVersion = this.versionResolver
			.resolveDependencies("org.springframework.boot", "spring-boot-dependencies",
					description.getPlatformVersion().toString())
			.get("org.jetbrains.kotlin:kotlin-reflect");
		return (kotlinVersion != null) ? kotlinVersion : this.fallback.apply(description);
	
<no_super_class>