getDefaultName() — spring-boot Function Reference
Architecture documentation for the getDefaultName() function in ConfigurationPropertiesBindHandlerAdvisorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 95d53ec6_a2dd_1fc9_611d_808816c964d7["getDefaultName()"] 7a94de97_b4ea_af61_2597_867b7487b027["onStart()"] 7a94de97_b4ea_af61_2597_867b7487b027 -->|calls| 95d53ec6_a2dd_1fc9_611d_808816c964d7 365d2ef8_7fbf_f898_097b_be40ea9144af["getValue()"] 95d53ec6_a2dd_1fc9_611d_808816c964d7 -->|calls| 365d2ef8_7fbf_f898_097b_be40ea9144af 5acc70e6_66e3_8996_e541_fcd335154b61["getNumberOfElements()"] 95d53ec6_a2dd_1fc9_611d_808816c964d7 -->|calls| 5acc70e6_66e3_8996_e541_fcd335154b61 1c6ead0f_9d06_7422_7ad9_0a308715cb0d["isParentOf()"] 95d53ec6_a2dd_1fc9_611d_808816c964d7 -->|calls| 1c6ead0f_9d06_7422_7ad9_0a308715cb0d style 95d53ec6_a2dd_1fc9_611d_808816c964d7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindHandlerAdvisorTests.java lines 144–153
private @Nullable ConfigurationPropertyName getDefaultName(ConfigurationPropertyName name) {
for (Map.Entry<ConfigurationPropertyName, ConfigurationPropertyName> mapping : this.mappings.entrySet()) {
ConfigurationPropertyName from = mapping.getKey();
ConfigurationPropertyName to = mapping.getValue();
if (name.getNumberOfElements() == from.getNumberOfElements() + 1 && from.isParentOf(name)) {
return to;
}
}
return null;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getDefaultName() do?
getDefaultName() is a function in the spring-boot codebase.
What does getDefaultName() call?
getDefaultName() calls 3 function(s): getNumberOfElements, getValue, isParentOf.
What calls getDefaultName()?
getDefaultName() is called by 1 function(s): onStart.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free