toString() — spring-boot Function Reference
Architecture documentation for the toString() function in OnBeanCondition.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 343c5071_b124_9233_e382_ad11feb5b46d["toString()"] 809fb51e_ab69_d2d9_ba80_77ad457c38f3["toString()"] 809fb51e_ab69_d2d9_ba80_77ad457c38f3 -->|calls| 343c5071_b124_9233_e382_ad11feb5b46d 248e1c83_7feb_5449_af88_e6474dfd2d43["createOnBeanNoMatchReason()"] 248e1c83_7feb_5449_af88_e6474dfd2d43 -->|calls| 343c5071_b124_9233_e382_ad11feb5b46d be633982_4850_c8c6_6c4a_95c5b8323596["createOnMissingBeanNoMatchReason()"] be633982_4850_c8c6_6c4a_95c5b8323596 -->|calls| 343c5071_b124_9233_e382_ad11feb5b46d c9d2b7fb_c9e5_ae4d_58d1_bf1c8c5bf433["getReturnType()"] c9d2b7fb_c9e5_ae4d_58d1_bf1c8c5bf433 -->|calls| 343c5071_b124_9233_e382_ad11feb5b46d 8bca2f81_abb1_ec0b_a7a7_dceece38877a["recordMatchedType()"] 8bca2f81_abb1_ec0b_a7a7_dceece38877a -->|calls| 343c5071_b124_9233_e382_ad11feb5b46d e6834d98_e3bf_89cd_b29e_3c7a8367d947["recordUnmatchedType()"] e6834d98_e3bf_89cd_b29e_3c7a8367d947 -->|calls| 343c5071_b124_9233_e382_ad11feb5b46d 809fb51e_ab69_d2d9_ba80_77ad457c38f3["toString()"] 343c5071_b124_9233_e382_ad11feb5b46d -->|calls| 809fb51e_ab69_d2d9_ba80_77ad457c38f3 style 343c5071_b124_9233_e382_ad11feb5b46d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java lines 770–798
@Override
public String toString() {
boolean hasNames = !this.names.isEmpty();
boolean hasTypes = !this.types.isEmpty();
boolean hasIgnoredTypes = !this.ignoredTypes.isEmpty();
StringBuilder string = new StringBuilder();
string.append("(");
if (hasNames) {
string.append("names: ");
string.append(StringUtils.collectionToCommaDelimitedString(this.names));
string.append(hasTypes ? " " : "; ");
}
if (hasTypes) {
string.append("types: ");
string.append(StringUtils.collectionToCommaDelimitedString(this.types));
string.append(hasIgnoredTypes ? " " : "; ");
}
if (hasIgnoredTypes) {
string.append("ignored: ");
string.append(StringUtils.collectionToCommaDelimitedString(this.ignoredTypes));
string.append("; ");
}
if (this.strategy != null) {
string.append("SearchStrategy: ");
string.append(this.strategy.toString().toLowerCase(Locale.ENGLISH));
}
string.append(")");
return string.toString();
}
Domain
Subdomains
Calls
- toString()
Called By
- createOnBeanNoMatchReason()
- createOnMissingBeanNoMatchReason()
- getReturnType()
- recordMatchedType()
- recordUnmatchedType()
- toString()
Source
Frequently Asked Questions
What does toString() do?
toString() is a function in the spring-boot codebase.
What does toString() call?
toString() calls 1 function(s): toString.
What calls toString()?
toString() is called by 6 function(s): createOnBeanNoMatchReason, createOnMissingBeanNoMatchReason, getReturnType, recordMatchedType, recordUnmatchedType, toString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free