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

childProperties() — spring-boot Function Reference

Architecture documentation for the childProperties() function in InheritanceMetadataGenerationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  7970160f_2ad8_c182_7ca4_c7ff69d11d4e["childProperties()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  7970160f_2ad8_c182_7ca4_c7ff69d11d4e -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  7970160f_2ad8_c182_7ca4_c7ff69d11d4e -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  7970160f_2ad8_c182_7ca4_c7ff69d11d4e -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  style 7970160f_2ad8_c182_7ca4_c7ff69d11d4e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/InheritanceMetadataGenerationTests.java lines 32–45

	@Test
	void childProperties() {
		ConfigurationMetadata metadata = compile(ChildPropertiesConfig.class);
		assertThat(metadata).has(Metadata.withGroup("inheritance").fromSource(ChildPropertiesConfig.class));
		assertThat(metadata).has(Metadata.withGroup("inheritance.nest").fromSource(ChildProperties.class));
		assertThat(metadata).has(Metadata.withGroup("inheritance.child-nest").fromSource(ChildProperties.class));
		assertThat(metadata).has(Metadata.withProperty("inheritance.bool-value"));
		assertThat(metadata).has(Metadata.withProperty("inheritance.int-value"));
		assertThat(metadata).has(Metadata.withProperty("inheritance.long-value"));
		assertThat(metadata).has(Metadata.withProperty("inheritance.nest.bool-value"));
		assertThat(metadata).has(Metadata.withProperty("inheritance.nest.int-value"));
		assertThat(metadata).has(Metadata.withProperty("inheritance.child-nest.bool-value"));
		assertThat(metadata).has(Metadata.withProperty("inheritance.child-nest.int-value"));
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free