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

toString() — spring-boot Function Reference

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

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  bb35e542_9958_265e_037c_7bfd35df9e05["toString()"]
  a1705267_70fe_d5bc_698f_2f245b558f9f["toString()"]
  a1705267_70fe_d5bc_698f_2f245b558f9f -->|calls| bb35e542_9958_265e_037c_7bfd35df9e05
  a1705267_70fe_d5bc_698f_2f245b558f9f["toString()"]
  bb35e542_9958_265e_037c_7bfd35df9e05 -->|calls| a1705267_70fe_d5bc_698f_2f245b558f9f
  8b48713f_bc64_db2d_a65d_bacbfd7ada67["getMethodName()"]
  bb35e542_9958_265e_037c_7bfd35df9e05 -->|calls| 8b48713f_bc64_db2d_a65d_bacbfd7ada67
  style bb35e542_9958_265e_037c_7bfd35df9e05 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 326–337

		@Override
		public String toString() {
			StringBuilder sb = new StringBuilder("User-defined bean");
			if (this.methodMetadata != null) {
				sb.append(String.format(" method '%s' in '%s'", this.methodMetadata.getMethodName(),
						ClassUtils.getShortName(this.methodMetadata.getDeclaringClassName())));
			}
			if (this.nullBean) {
				sb.append(" ignored as the bean value is null");
			}
			return sb.toString();
		}

Domain

Subdomains

Called By

Frequently Asked Questions

What does toString() do?
toString() is a function in the spring-boot codebase.
What does toString() call?
toString() calls 2 function(s): getMethodName, toString.
What calls toString()?
toString() is called by 1 function(s): toString.

Analyze Your Own Codebase

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

Try Supermodel Free