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

whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() — spring-boot Function Reference

Architecture documentation for the whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() function in NoSuchMethodFailureAnalyzerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  738f1cf4_9b09_eb55_2361_208550c96cb1["whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed()"]
  a75de644_5710_529b_c44c_efd55e1adc1d["createFailureForMissingInheritedMethod()"]
  738f1cf4_9b09_eb55_2361_208550c96cb1 -->|calls| a75de644_5710_529b_c44c_efd55e1adc1d
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  738f1cf4_9b09_eb55_2361_208550c96cb1 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"]
  738f1cf4_9b09_eb55_2361_208550c96cb1 -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1
  style 738f1cf4_9b09_eb55_2361_208550c96cb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/NoSuchMethodFailureAnalyzerTests.java lines 90–103

	@Test
	void whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() {
		Throwable failure = createFailureForMissingInheritedMethod();
		FailureAnalysis analysis = new NoSuchMethodFailureAnalyzer().analyze(failure);
		assertThat(analysis).isNotNull();
		assertThat(analysis.getDescription()).contains(R2dbcMappingContext.class.getName() + ".<init>(")
			.contains(R2dbcMappingContext.class.getName() + ".setForceQuote(")
			.contains("calling method's class, org.springframework.data.r2dbc.mapping.R2dbcMappingContext,")
			.contains("called method's class, org.springframework.data.r2dbc.mapping.R2dbcMappingContext,")
			.contains("    org.springframework.data.r2dbc.mapping.R2dbcMappingContext")
			.contains("    org.springframework.data.relational.core.mapping.RelationalMappingContext")
			.contains("    org.springframework.data.mapping.context.AbstractMappingContext");
		assertThat(analysis.getAction()).contains("org.springframework.data.r2dbc.mapping.R2dbcMappingContext");
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() do?
whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() is a function in the spring-boot codebase.
What does whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() call?
whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() calls 3 function(s): createFailureForMissingInheritedMethod, getAction, getDescription.

Analyze Your Own Codebase

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

Try Supermodel Free