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

overrideChildProperties() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  104d81bc_4a0c_86a6_767d_3ab97220d2bd["overrideChildProperties()"]
  2db27307_3f01_c311_5faa_703a32fd170b["overrideChildProperties()"]
  104d81bc_4a0c_86a6_767d_3ab97220d2bd -->|calls| 2db27307_3f01_c311_5faa_703a32fd170b
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  104d81bc_4a0c_86a6_767d_3ab97220d2bd -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  104d81bc_4a0c_86a6_767d_3ab97220d2bd -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  104d81bc_4a0c_86a6_767d_3ab97220d2bd -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  style 104d81bc_4a0c_86a6_767d_3ab97220d2bd 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 47–59

	@Test
	void overrideChildProperties() {
		ConfigurationMetadata metadata = compile(OverrideChildPropertiesConfig.class);
		assertThat(metadata).has(Metadata.withGroup("inheritance").fromSource(OverrideChildPropertiesConfig.class));
		assertThat(metadata).has(Metadata.withGroup("inheritance.nest").fromSource(OverrideChildProperties.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.nest.long-value"));

	}

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free