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

sourceIsMergedWithConfigurationProperties() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5873eda0_c228_7e87_2244_2db6104d5990["sourceIsMergedWithConfigurationProperties()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  5873eda0_c228_7e87_2244_2db6104d5990 -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  5873eda0_c228_7e87_2244_2db6104d5990 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  5873eda0_c228_7e87_2244_2db6104d5990 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"]
  5873eda0_c228_7e87_2244_2db6104d5990 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644
  3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"]
  5873eda0_c228_7e87_2244_2db6104d5990 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681
  style 5873eda0_c228_7e87_2244_2db6104d5990 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 693–707

		@Test
		void sourceIsMergedWithConfigurationProperties() {
			ConfigurationMetadata metadata = compile(ParentWithHintProperties.class);
			assertThat(metadata).has(Metadata.withGroup("example", ParentWithHintProperties.class))
				.has(Metadata.withProperty("example.name", String.class).withDescription("Name description."))
				.has(Metadata.withProperty("example.description", String.class)
					.withDescription("Description description.")
					.withDefaultValue("Hello World"))
				.has(Metadata.withProperty("example.type", String.class)
					.withDescription("A property with a fixed set of values.")
					.withDefaultValue("single"))
				.has(Metadata.withProperty("example.enabled", Boolean.class)
					.withDescription("Whether this is enabled.")
					.withDefaultValue(false));
		}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free