withTestClasses() — spring-boot Function Reference
Architecture documentation for the withTestClasses() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb["withTestClasses()"] ff739d11_923b_9aba_9260_66d07cbb27a7["simplePropertiesSource()"] ff739d11_923b_9aba_9260_66d07cbb27a7 -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 9bfc0b86_66ba_af39_3646_91944df6b8de["simplePropertiesSourceWithAdditionalMetadataIsMerged()"] 9bfc0b86_66ba_af39_3646_91944df6b8de -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 7ee18f42_0c8f_5b61_fd38_a5743c7df2c8["simplePropertiesSourceWithAdditionalMetadataHintIsMerged()"] 7ee18f42_0c8f_5b61_fd38_a5743c7df2c8 -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 9ed3dca6_58f0_cc78_cbad_60855ee1128b["simplePropertiesSourceWithAdditionalMetadataCanBeOverridden()"] 9ed3dca6_58f0_cc78_cbad_60855ee1128b -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 9419ba22_d52e_8904_a590_adce93bfcfd9["lombokPropertiesSource()"] 9419ba22_d52e_8904_a590_adce93bfcfd9 -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb db82f29b_8964_0aa6_b846_d0efc277463f["immutablePropertiesSource()"] db82f29b_8964_0aa6_b846_d0efc277463f -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 7629279f_801f_df6d_a18a_9ed26f468a84["recordPropertiesSource()"] 7629279f_801f_df6d_a18a_9ed26f468a84 -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 297a2281_0594_619d_3fff_799482500755["abstractPropertiesSource()"] 297a2281_0594_619d_3fff_799482500755 -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 549ceb61_a444_a399_ba98_2a796c0284ad["nonRootConfigurationPropertiesSources()"] 549ceb61_a444_a399_ba98_2a796c0284ad -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f["nestedPropertiesSource()"] 41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb style 6ba5298a_2b3e_c1e1_cfd1_cd60996092eb 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 1010–1013
private Function<TestCompiler, TestCompiler> withTestClasses(Class<?>... testClasses) {
return (compiler) -> compiler
.withSources(Arrays.stream(testClasses).map(SourceFile::forTestClass).toList());
}
Domain
Subdomains
Called By
- abstractPropertiesSource()
- immutablePropertiesSource()
- lombokPropertiesSource()
- nestedPropertiesSource()
- nonRootConfigurationPropertiesSources()
- recordPropertiesSource()
- simplePropertiesSource()
- simplePropertiesSourceWithAdditionalMetadataCanBeOverridden()
- simplePropertiesSourceWithAdditionalMetadataHintIsMerged()
- simplePropertiesSourceWithAdditionalMetadataIsMerged()
Source
Frequently Asked Questions
What does withTestClasses() do?
withTestClasses() is a function in the spring-boot codebase.
What calls withTestClasses()?
withTestClasses() is called by 10 function(s): abstractPropertiesSource, immutablePropertiesSource, lombokPropertiesSource, nestedPropertiesSource, nonRootConfigurationPropertiesSources, recordPropertiesSource, simplePropertiesSource, simplePropertiesSourceWithAdditionalMetadataCanBeOverridden, and 2 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free