failureAnalysisForNoMatchType() — spring-boot Function Reference
Architecture documentation for the failureAnalysisForNoMatchType() function in NoSuchBeanDefinitionFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a72262ec_aef8_2921_d648_627dfa7e1a23["failureAnalysisForNoMatchType()"] 331d998d_7321_b02d_270f_399881f5897b["analyzeFailure()"] a72262ec_aef8_2921_d648_627dfa7e1a23 -->|calls| 331d998d_7321_b02d_270f_399881f5897b 62a95671_b8cc_c91b_9b9d_f03915228f99["createFailure()"] a72262ec_aef8_2921_d648_627dfa7e1a23 -->|calls| 62a95671_b8cc_c91b_9b9d_f03915228f99 63510d78_8def_5ec8_aa70_887631caeefb["assertDescriptionConstructorMissingType()"] a72262ec_aef8_2921_d648_627dfa7e1a23 -->|calls| 63510d78_8def_5ec8_aa70_887631caeefb ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"] a72262ec_aef8_2921_d648_627dfa7e1a23 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48 1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"] a72262ec_aef8_2921_d648_627dfa7e1a23 -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1 style a72262ec_aef8_2921_d648_627dfa7e1a23 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 65–74
@Test
void failureAnalysisForNoMatchType() {
FailureAnalysis analysis = analyzeFailure(createFailure(StringHandler.class));
assertThat(analysis).isNotNull();
assertDescriptionConstructorMissingType(analysis, StringHandler.class, 0, String.class);
assertThat(analysis.getDescription())
.doesNotContain("No matching auto-configuration has been found for this type.");
assertThat(analysis.getAction()).startsWith(
String.format("Consider defining a bean of type '%s' in your configuration.", String.class.getName()));
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does failureAnalysisForNoMatchType() do?
failureAnalysisForNoMatchType() is a function in the spring-boot codebase.
What does failureAnalysisForNoMatchType() call?
failureAnalysisForNoMatchType() calls 5 function(s): analyzeFailure, assertDescriptionConstructorMissingType, createFailure, getAction, getDescription.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free