addMetadataWithExistingInstanceInvokesConflictResolution() — spring-boot Function Reference
Architecture documentation for the addMetadataWithExistingInstanceInvokesConflictResolution() function in MetadataCollectorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 20a2f7be_64e6_43b4_9f4e_48583b6380b9["addMetadataWithExistingInstanceInvokesConflictResolution()"] c04718c1_4f96_61c9_8fb3_d6e3b5819110["createSimpleCollector()"] 20a2f7be_64e6_43b4_9f4e_48583b6380b9 -->|calls| c04718c1_4f96_61c9_8fb3_d6e3b5819110 c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"] 20a2f7be_64e6_43b4_9f4e_48583b6380b9 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239 48f8fec2_2e27_3a1f_0f94_d07832e9810f["add()"] 20a2f7be_64e6_43b4_9f4e_48583b6380b9 -->|calls| 48f8fec2_2e27_3a1f_0f94_d07832e9810f style 20a2f7be_64e6_43b4_9f4e_48583b6380b9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MetadataCollectorTests.java lines 93–102
@SuppressWarnings("unchecked")
@Test
void addMetadataWithExistingInstanceInvokesConflictResolution() {
MetadataCollector collector = createSimpleCollector();
ItemMetadata metadata = SINGLE_ITEM_METADATA.getItems().get(0);
collector.add(metadata);
Consumer<ItemMetadata> conflictResolution = mock(Consumer.class);
collector.add(metadata, conflictResolution);
then(conflictResolution).should().accept(metadata);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does addMetadataWithExistingInstanceInvokesConflictResolution() do?
addMetadataWithExistingInstanceInvokesConflictResolution() is a function in the spring-boot codebase.
What does addMetadataWithExistingInstanceInvokesConflictResolution() call?
addMetadataWithExistingInstanceInvokesConflictResolution() calls 3 function(s): add, createSimpleCollector, getItems.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free