Home / Function/ isMatch() — spring-boot Function Reference

isMatch() — spring-boot Function Reference

Architecture documentation for the isMatch() function in NoSuchBeanDefinitionFailureAnalyzer.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 5 called by 2

Entity Profile

Dependency Diagram

graph TD
  588432ea_1cad_4f96_5f64_ea6658e568c2["isMatch()"]
  b60b1501_6523_f235_7257_d3b8e2482739["collectReportedConditionOutcomes()"]
  b60b1501_6523_f235_7257_d3b8e2482739 -->|calls| 588432ea_1cad_4f96_5f64_ea6658e568c2
  5e6ab4c3_eea4_02f0_7c7c_a8bb2c83804a["findBeanMethods()"]
  5e6ab4c3_eea4_02f0_7c7c_a8bb2c83804a -->|calls| 588432ea_1cad_4f96_5f64_ea6658e568c2
  054c68bd_a773_7f3e_24cb_b504ee65da1b["isMatch()"]
  588432ea_1cad_4f96_5f64_ea6658e568c2 -->|calls| 054c68bd_a773_7f3e_24cb_b504ee65da1b
  8b48713f_bc64_db2d_a65d_bacbfd7ada67["getMethodName()"]
  588432ea_1cad_4f96_5f64_ea6658e568c2 -->|calls| 8b48713f_bc64_db2d_a65d_bacbfd7ada67
  83701cff_bed8_05a4_5bd0_16a08c63c2bf["hasName()"]
  588432ea_1cad_4f96_5f64_ea6658e568c2 -->|calls| 83701cff_bed8_05a4_5bd0_16a08c63c2bf
  5d5b825f_8f81_10d8_132b_02016ee9756c["hasType()"]
  588432ea_1cad_4f96_5f64_ea6658e568c2 -->|calls| 5d5b825f_8f81_10d8_132b_02016ee9756c
  1e92130e_c9c5_da66_4f64_28b3a82ae96e["extractBeanType()"]
  588432ea_1cad_4f96_5f64_ea6658e568c2 -->|calls| 1e92130e_c9c5_da66_4f64_28b3a82ae96e
  style 588432ea_1cad_4f96_5f64_ea6658e568c2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/diagnostics/analyzer/NoSuchBeanDefinitionFailureAnalyzer.java lines 249–257

		private boolean isMatch(MethodMetadata candidate, Source source, NoSuchBeanDefinitionException cause) {
			if (source.getMethodName() != null && !source.getMethodName().equals(candidate.getMethodName())) {
				return false;
			}
			String name = cause.getBeanName();
			ResolvableType resolvableType = cause.getResolvableType();
			return ((name != null && hasName(candidate, name))
					|| (resolvableType != null && hasType(candidate, extractBeanType(resolvableType))));
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does isMatch() do?
isMatch() is a function in the spring-boot codebase.
What does isMatch() call?
isMatch() calls 5 function(s): extractBeanType, getMethodName, hasName, hasType, isMatch.
What calls isMatch()?
isMatch() is called by 2 function(s): collectReportedConditionOutcomes, findBeanMethods.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free