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

analyze() — spring-boot Function Reference

Architecture documentation for the analyze() function in NoSuchMethodFailureAnalyzer.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  0dd98b3a_062f_25d7_e4dc_56d59adb88f7["analyze()"]
  b32bd4ba_4c95_b76c_e666_aa713bed5057["analyze()"]
  0dd98b3a_062f_25d7_e4dc_56d59adb88f7 -->|calls| b32bd4ba_4c95_b76c_e666_aa713bed5057
  09e0370c_f24b_faed_8c3a_178cca5dc24b["getCallerMethodDescriptor()"]
  0dd98b3a_062f_25d7_e4dc_56d59adb88f7 -->|calls| 09e0370c_f24b_faed_8c3a_178cca5dc24b
  3fbc0775_0cd5_d7a6_4e05_cbe0d4d7f92e["getNoSuchMethodDescriptor()"]
  0dd98b3a_062f_25d7_e4dc_56d59adb88f7 -->|calls| 3fbc0775_0cd5_d7a6_4e05_cbe0d4d7f92e
  ca1e3a73_3c43_9219_377f_2f7b9099088b["getDescription()"]
  0dd98b3a_062f_25d7_e4dc_56d59adb88f7 -->|calls| ca1e3a73_3c43_9219_377f_2f7b9099088b
  f7c9694a_91d0_ac42_1bbf_725c8999feef["getAction()"]
  0dd98b3a_062f_25d7_e4dc_56d59adb88f7 -->|calls| f7c9694a_91d0_ac42_1bbf_725c8999feef
  1c0a452a_a003_0ab7_8926_72358d1266ed["FailureAnalysis()"]
  0dd98b3a_062f_25d7_e4dc_56d59adb88f7 -->|calls| 1c0a452a_a003_0ab7_8926_72358d1266ed
  style 0dd98b3a_062f_25d7_e4dc_56d59adb88f7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/NoSuchMethodFailureAnalyzer.java lines 42–56

	@Override
	protected @Nullable FailureAnalysis analyze(Throwable rootFailure, NoSuchMethodError cause) {
		NoSuchMethodDescriptor callerDescriptor = getCallerMethodDescriptor(cause);
		if (callerDescriptor == null) {
			return null;
		}
		String message = cause.getMessage();
		NoSuchMethodDescriptor calledDescriptor = getNoSuchMethodDescriptor((message != null) ? message : "");
		if (calledDescriptor == null) {
			return null;
		}
		String description = getDescription(callerDescriptor, calledDescriptor);
		String action = getAction(callerDescriptor, calledDescriptor);
		return new FailureAnalysis(description, action, cause);
	}

Domain

Subdomains

Frequently Asked Questions

What does analyze() do?
analyze() is a function in the spring-boot codebase.
What does analyze() call?
analyze() calls 6 function(s): FailureAnalysis, analyze, getAction, getCallerMethodDescriptor, getDescription, getNoSuchMethodDescriptor.

Analyze Your Own Codebase

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

Try Supermodel Free