Home / Function/ loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() — spring-boot Function Reference

loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() — spring-boot Function Reference

Architecture documentation for the loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() function in ConfigurationPropertiesTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  304bb800_6340_7880_ac1f_6122fe0a0309["loadWhenConstructorBindingWithOuterClassDeducedConstructorBound()"]
  e05254fd_e649_fca2_48d0_249a50d6db63["getOuter()"]
  304bb800_6340_7880_ac1f_6122fe0a0309 -->|calls| e05254fd_e649_fca2_48d0_249a50d6db63
  05d207ba_cdfc_1f3b_359f_89b70a0aec4e["load()"]
  304bb800_6340_7880_ac1f_6122fe0a0309 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  ec2a4382_423d_eada_59b2_91869f74adda["getAge()"]
  304bb800_6340_7880_ac1f_6122fe0a0309 -->|calls| ec2a4382_423d_eada_59b2_91869f74adda
  style 304bb800_6340_7880_ac1f_6122fe0a0309 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesTests.java lines 1208–1220

	@Test
	void loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() {
		MutablePropertySources sources = this.context.getEnvironment().getPropertySources();
		Map<String, Object> source = new HashMap<>();
		source.put("test.nested.outer.age", "5");
		sources.addLast(new MapPropertySource("test", source));
		load(ConstructorBindingWithOuterClassConstructorBoundConfiguration.class);
		ConstructorBindingWithOuterClassConstructorBoundProperties bean = this.context
			.getBean(ConstructorBindingWithOuterClassConstructorBoundProperties.class);
		Outer outer = bean.getNested().getOuter();
		assertThat(outer).isNotNull();
		assertThat(outer.getAge()).isEqualTo(5);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() do?
loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() is a function in the spring-boot codebase.
What does loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() call?
loadWhenConstructorBindingWithOuterClassDeducedConstructorBound() calls 3 function(s): getAge, getOuter, load.

Analyze Your Own Codebase

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

Try Supermodel Free