methodConfig() — spring-boot Function Reference
Architecture documentation for the methodConfig() function in MethodBasedMetadataGenerationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f6f567b4_ff7a_45cb_3fc7_47c5688e67af["methodConfig()"] 4c0bf390_683b_aa64_36ca_c82379f9ba65["publicMethodConfig()"] 4c0bf390_683b_aa64_36ca_c82379f9ba65 -->|calls| f6f567b4_ff7a_45cb_3fc7_47c5688e67af 347fba19_ce00_4f4d_fea1_c10e97d6c862["protectedMethodConfig()"] 347fba19_ce00_4f4d_fea1_c10e97d6c862 -->|calls| f6f567b4_ff7a_45cb_3fc7_47c5688e67af c3df8237_7834_4a37_1a6e_0646d703fcda["packagePrivateMethodConfig()"] c3df8237_7834_4a37_1a6e_0646d703fcda -->|calls| f6f567b4_ff7a_45cb_3fc7_47c5688e67af 83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"] f6f567b4_ff7a_45cb_3fc7_47c5688e67af -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7 a7060ba0_7028_1911_946e_7c3090117119["fromSource()"] f6f567b4_ff7a_45cb_3fc7_47c5688e67af -->|calls| a7060ba0_7028_1911_946e_7c3090117119 a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"] f6f567b4_ff7a_45cb_3fc7_47c5688e67af -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc 3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"] f6f567b4_ff7a_45cb_3fc7_47c5688e67af -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681 style f6f567b4_ff7a_45cb_3fc7_47c5688e67af fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MethodBasedMetadataGenerationTests.java lines 58–64
private void methodConfig(Class<?> config, Class<?> properties) {
ConfigurationMetadata metadata = compile(config);
assertThat(metadata).has(Metadata.withGroup("foo").fromSource(config));
assertThat(metadata).has(Metadata.withProperty("foo.name", String.class).fromSource(properties));
assertThat(metadata)
.has(Metadata.withProperty("foo.flag", Boolean.class).withDefaultValue(false).fromSource(properties));
}
Domain
Subdomains
Called By
- packagePrivateMethodConfig()
- protectedMethodConfig()
- publicMethodConfig()
Source
Frequently Asked Questions
What does methodConfig() do?
methodConfig() is a function in the spring-boot codebase.
What does methodConfig() call?
methodConfig() calls 4 function(s): fromSource, withDefaultValue, withGroup, withProperty.
What calls methodConfig()?
methodConfig() is called by 3 function(s): packagePrivateMethodConfig, protectedMethodConfig, publicMethodConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free