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

withAdditionalMetadata() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d7874e43_39fb_ad99_1307_2590d858c405["withAdditionalMetadata()"]
  9bfc0b86_66ba_af39_3646_91944df6b8de["simplePropertiesSourceWithAdditionalMetadataIsMerged()"]
  9bfc0b86_66ba_af39_3646_91944df6b8de -->|calls| d7874e43_39fb_ad99_1307_2590d858c405
  7ee18f42_0c8f_5b61_fd38_a5743c7df2c8["simplePropertiesSourceWithAdditionalMetadataHintIsMerged()"]
  7ee18f42_0c8f_5b61_fd38_a5743c7df2c8 -->|calls| d7874e43_39fb_ad99_1307_2590d858c405
  9ed3dca6_58f0_cc78_cbad_60855ee1128b["simplePropertiesSourceWithAdditionalMetadataCanBeOverridden()"]
  9ed3dca6_58f0_cc78_cbad_60855ee1128b -->|calls| d7874e43_39fb_ad99_1307_2590d858c405
  style d7874e43_39fb_ad99_1307_2590d858c405 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 1015–1018

		private Function<TestCompiler, TestCompiler> withAdditionalMetadata(Class<?> type, String content) {
			String location = "META-INF/spring/configuration-metadata/additional/%s.json".formatted(type.getName());
			return (compiler) -> compiler.withResources(ResourceFile.of(location, content));
		}

Domain

Subdomains

Frequently Asked Questions

What does withAdditionalMetadata() do?
withAdditionalMetadata() is a function in the spring-boot codebase.
What calls withAdditionalMetadata()?
withAdditionalMetadata() is called by 3 function(s): simplePropertiesSourceWithAdditionalMetadataCanBeOverridden, simplePropertiesSourceWithAdditionalMetadataHintIsMerged, simplePropertiesSourceWithAdditionalMetadataIsMerged.

Analyze Your Own Codebase

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

Try Supermodel Free