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

assertBeanMethodDisabled() — spring-boot Function Reference

Architecture documentation for the assertBeanMethodDisabled() function in NoSuchBeanDefinitionFailureAnalyzerTests.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 4

Entity Profile

Dependency Diagram

graph TD
  9dedf92a_88f4_ae7a_a689_6121d664db41["assertBeanMethodDisabled()"]
  a1ae5053_1ded_b567_2065_532e1ffd8310["failureAnalysisForMissingPropertyExactType()"]
  a1ae5053_1ded_b567_2065_532e1ffd8310 -->|calls| 9dedf92a_88f4_ae7a_a689_6121d664db41
  09f08704_c066_5214_da16_4ea73f51c3dc["failureAnalysisForMissingPropertySubType()"]
  09f08704_c066_5214_da16_4ea73f51c3dc -->|calls| 9dedf92a_88f4_ae7a_a689_6121d664db41
  a09d72eb_8535_c23f_7dd1_9e6fff66a5aa["failureAnalysisForSeveralConditionsType()"]
  a09d72eb_8535_c23f_7dd1_9e6fff66a5aa -->|calls| 9dedf92a_88f4_ae7a_a689_6121d664db41
  1f6db270_a286_d381_d98d_ef8009a8eec9["failureAnalysisForMissingBeanName()"]
  1f6db270_a286_d381_d98d_ef8009a8eec9 -->|calls| 9dedf92a_88f4_ae7a_a689_6121d664db41
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  9dedf92a_88f4_ae7a_a689_6121d664db41 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  style 9dedf92a_88f4_ae7a_a689_6121d664db41 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 192–198

	private void assertBeanMethodDisabled(FailureAnalysis analysis, String description, Class<?> target,
			String methodName) {
		String expected = String.format("Bean method '%s' in '%s' not loaded because", methodName,
				ClassUtils.getShortName(target));
		assertThat(analysis.getDescription()).contains(expected);
		assertThat(analysis.getDescription()).contains(description);
	}

Domain

Subdomains

Frequently Asked Questions

What does assertBeanMethodDisabled() do?
assertBeanMethodDisabled() is a function in the spring-boot codebase.
What does assertBeanMethodDisabled() call?
assertBeanMethodDisabled() calls 1 function(s): getDescription.
What calls assertBeanMethodDisabled()?
assertBeanMethodDisabled() is called by 4 function(s): failureAnalysisForMissingBeanName, failureAnalysisForMissingPropertyExactType, failureAnalysisForMissingPropertySubType, failureAnalysisForSeveralConditionsType.

Analyze Your Own Codebase

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

Try Supermodel Free