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

nestedClassChildProperties() — spring-boot Function Reference

Architecture documentation for the nestedClassChildProperties() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c5e16e56_891b_73cc_ab11_1a6077884fb9["nestedClassChildProperties()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  c5e16e56_891b_73cc_ab11_1a6077884fb9 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  c5e16e56_891b_73cc_ab11_1a6077884fb9 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  c5e16e56_891b_73cc_ab11_1a6077884fb9 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  c5e16e56_891b_73cc_ab11_1a6077884fb9 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"]
  c5e16e56_891b_73cc_ab11_1a6077884fb9 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681
  style c5e16e56_891b_73cc_ab11_1a6077884fb9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java lines 432–443

	@Test
	void nestedClassChildProperties() {
		ConfigurationMetadata metadata = compile(ClassWithNestedProperties.class);
		assertThat(metadata)
			.has(Metadata.withGroup("nestedChildProps").fromSource(ClassWithNestedProperties.NestedChildClass.class));
		assertThat(metadata).has(Metadata.withProperty("nestedChildProps.child-class-property", Integer.class)
			.fromSource(ClassWithNestedProperties.NestedChildClass.class)
			.withDefaultValue(20));
		assertThat(metadata).has(Metadata.withProperty("nestedChildProps.parent-class-property", Integer.class)
			.fromSource(ClassWithNestedProperties.NestedChildClass.class)
			.withDefaultValue(10));
	}

Domain

Subdomains

Frequently Asked Questions

What does nestedClassChildProperties() do?
nestedClassChildProperties() is a function in the spring-boot codebase.
What does nestedClassChildProperties() call?
nestedClassChildProperties() calls 5 function(s): compile, fromSource, withDefaultValue, withGroup, withProperty.

Analyze Your Own Codebase

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

Try Supermodel Free