addExclusions() — spring-boot Function Reference
Architecture documentation for the addExclusions() function in NoSuchBeanDefinitionFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a5087eeb_ca77_1163_5b55_15d92b02e9b1["addExclusions()"] dd4822bf_5624_614c_e647_2cce382562af["failureAnalysisForExcludedAutoConfigurationType()"] dd4822bf_5624_614c_e647_2cce382562af -->|calls| a5087eeb_ca77_1163_5b55_15d92b02e9b1 91a337ac_4258_6fcb_4446_dbad034ef216["getExclusions()"] a5087eeb_ca77_1163_5b55_15d92b02e9b1 -->|calls| 91a337ac_4258_6fcb_4446_dbad034ef216 2f899a14_8285_228a_1809_f8834d27dcf6["add()"] a5087eeb_ca77_1163_5b55_15d92b02e9b1 -->|calls| 2f899a14_8285_228a_1809_f8834d27dcf6 1fd9a782_d4ff_66ff_8865_b11ddc6c279a["recordExclusions()"] a5087eeb_ca77_1163_5b55_15d92b02e9b1 -->|calls| 1fd9a782_d4ff_66ff_8865_b11ddc6c279a style a5087eeb_ca77_1163_5b55_15d92b02e9b1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/diagnostics/analyzer/NoSuchBeanDefinitionFailureAnalyzerTests.java lines 215–223
private static void addExclusions(NoSuchBeanDefinitionFailureAnalyzer analyzer, Class<?>... classes) {
ConditionEvaluationReport report = (ConditionEvaluationReport) ReflectionTestUtils.getField(analyzer, "report");
assertThat(report).isNotNull();
List<String> exclusions = new ArrayList<>(report.getExclusions());
for (Class<?> c : classes) {
exclusions.add(c.getName());
}
report.recordExclusions(exclusions);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does addExclusions() do?
addExclusions() is a function in the spring-boot codebase.
What does addExclusions() call?
addExclusions() calls 3 function(s): add, getExclusions, recordExclusions.
What calls addExclusions()?
addExclusions() is called by 1 function(s): failureAnalysisForExcludedAutoConfigurationType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free