mergingOfHintWithProvider() — spring-boot Function Reference
Architecture documentation for the mergingOfHintWithProvider() function in MergeMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c6e26115_9ea9_83f2_347b_521a722028c3["mergingOfHintWithProvider()"] 57c92e2b_db8f_d619_ea78_e485c427d97f["buildAdditionalHints()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| 57c92e2b_db8f_d619_ea78_e485c427d97f 165eb563_f28e_5b1c_89b1_72c9cbf53b51["ItemHint()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| 165eb563_f28e_5b1c_89b1_72c9cbf53b51 e9b708c8_8f1e_f603_5678_5589d755aa3f["ValueProvider()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| e9b708c8_8f1e_f603_5678_5589d755aa3f 56afd5ff_85de_d8b5_5901_a76923fe9704["has()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| 56afd5ff_85de_d8b5_5901_a76923fe9704 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| a7060ba0_7028_1911_946e_7c3090117119 facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528 3e16447d_1507_5130_db83_3555c87b4c39["withHint()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| 3e16447d_1507_5130_db83_3555c87b4c39 49e8013b_6e1c_24cf_7e97_0599a31dd2d3["withProvider()"] c6e26115_9ea9_83f2_347b_521a722028c3 -->|calls| 49e8013b_6e1c_24cf_7e97_0599a31dd2d3 style c6e26115_9ea9_83f2_347b_521a722028c3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MergeMetadataGenerationTests.java lines 196–209
@Test
void mergingOfHintWithProvider() throws Exception {
String hints = buildAdditionalHints(new ItemHint("simple.theName", Collections.emptyList(),
Arrays.asList(new ItemHint.ValueProvider("first", Collections.singletonMap("target", "org.foo")),
new ItemHint.ValueProvider("second", null))));
ConfigurationMetadata metadata = compile(hints, SimpleProperties.class);
assertThat(metadata).has(Metadata.withProperty("simple.the-name", String.class)
.fromSource(SimpleProperties.class)
.withDescription("The name of this simple properties.")
.withDefaultValue("boot")
.withDeprecation());
assertThat(metadata).has(
Metadata.withHint("simple.the-name").withProvider("first", "target", "org.foo").withProvider("second"));
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does mergingOfHintWithProvider() do?
mergingOfHintWithProvider() is a function in the spring-boot codebase.
What does mergingOfHintWithProvider() call?
mergingOfHintWithProvider() calls 11 function(s): ItemHint, ValueProvider, buildAdditionalHints, fromSource, has, withDefaultValue, withDeprecation, withDescription, and 3 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free