Home / Class/ PropertySourceRuntimeHints Class — spring-boot Architecture

PropertySourceRuntimeHints Class — spring-boot Architecture

Architecture documentation for the PropertySourceRuntimeHints class in PropertySourceRuntimeHints.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceRuntimeHints.java lines 30–39

class PropertySourceRuntimeHints implements RuntimeHintsRegistrar {

	@Override
	public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
		hints.reflection()
			.registerTypeIfPresent(classLoader, "org.yaml.snakeyaml.Yaml",
					(typeHint) -> typeHint.onReachableType(TypeReference.of(YamlPropertySourceLoader.class)));
	}

}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free