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

analyzeForMissingParametersWhenMissingParametersExceptionReturnsFailure() — spring-boot Function Reference

Architecture documentation for the analyzeForMissingParametersWhenMissingParametersExceptionReturnsFailure() function in MissingParameterNamesFailureAnalyzerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  adc04681_0d62_dde6_c621_e901af6eb60c["analyzeForMissingParametersWhenMissingParametersExceptionReturnsFailure()"]
  0a968857_ee4d_2c5f_2ea8_bd6fbad22728["getSpringFrameworkMissingParameterException()"]
  adc04681_0d62_dde6_c621_e901af6eb60c -->|calls| 0a968857_ee4d_2c5f_2ea8_bd6fbad22728
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  adc04681_0d62_dde6_c621_e901af6eb60c -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"]
  adc04681_0d62_dde6_c621_e901af6eb60c -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1
  style adc04681_0d62_dde6_c621_e901af6eb60c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/MissingParameterNamesFailureAnalyzerTests.java lines 50–59

	@Test
	void analyzeForMissingParametersWhenMissingParametersExceptionReturnsFailure() throws Exception {
		FailureAnalysis analysis = MissingParameterNamesFailureAnalyzer
			.analyzeForMissingParameters(getSpringFrameworkMissingParameterException());
		assertThat(analysis).isNotNull();
		assertThat(analysis.getDescription())
			.isEqualTo(String.format("Name for argument of type [java.lang.String] not specified, and parameter name "
					+ "information not available via reflection. Ensure that the compiler uses the '-parameters' flag.:%n"));
		assertThat(analysis.getAction()).isEqualTo(MissingParameterNamesFailureAnalyzer.ACTION);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free