mergingOfSimpleHint() — spring-boot Function Reference
Architecture documentation for the mergingOfSimpleHint() function in MergeMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 99dd0cb4_f361_775b_c1e5_a2b0e441898c["mergingOfSimpleHint()"] 57c92e2b_db8f_d619_ea78_e485c427d97f["buildAdditionalHints()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| 57c92e2b_db8f_d619_ea78_e485c427d97f 615c5e8a_d141_6de6_0947_4d889ec3c024["newHint()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| 615c5e8a_d141_6de6_0947_4d889ec3c024 e7c58dfe_42c0_6b72_1bde_2ee9b184c277["ValueHint()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| e7c58dfe_42c0_6b72_1bde_2ee9b184c277 56afd5ff_85de_d8b5_5901_a76923fe9704["has()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| 56afd5ff_85de_d8b5_5901_a76923fe9704 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| a7060ba0_7028_1911_946e_7c3090117119 facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| facc73e3_5f28_4513_9b1f_79367931e644 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528 3e16447d_1507_5130_db83_3555c87b4c39["withHint()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| 3e16447d_1507_5130_db83_3555c87b4c39 4b61c8e3_26fd_ba33_03bc_d518465e0979["withValue()"] 99dd0cb4_f361_775b_c1e5_a2b0e441898c -->|calls| 4b61c8e3_26fd_ba33_03bc_d518465e0979 style 99dd0cb4_f361_775b_c1e5_a2b0e441898c 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 169–181
@Test
void mergingOfSimpleHint() throws Exception {
String hints = buildAdditionalHints(ItemHint.newHint("simple.the-name",
new ItemHint.ValueHint("boot", "Bla bla"), new ItemHint.ValueHint("spring", 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").withValue(0, "boot", "Bla bla").withValue(1, "spring", null));
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does mergingOfSimpleHint() do?
mergingOfSimpleHint() is a function in the spring-boot codebase.
What does mergingOfSimpleHint() call?
mergingOfSimpleHint() calls 11 function(s): ValueHint, buildAdditionalHints, fromSource, has, newHint, 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