getKeyName() — spring-boot Function Reference
Architecture documentation for the getKeyName() function in MapBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dc096334_7316_4621_3470_9e12e8963800["getKeyName()"] 0b966f5f_5379_0fd2_77e0_81b2587028f3["bindEntries()"] 0b966f5f_5379_0fd2_77e0_81b2587028f3 -->|calls| dc096334_7316_4621_3470_9e12e8963800 5acc70e6_66e3_8996_e541_fcd335154b61["getNumberOfElements()"] dc096334_7316_4621_3470_9e12e8963800 -->|calls| 5acc70e6_66e3_8996_e541_fcd335154b61 723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"] dc096334_7316_4621_3470_9e12e8963800 -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17 bc164715_9139_37ca_1cb7_07a5191210d7["getElement()"] dc096334_7316_4621_3470_9e12e8963800 -->|calls| bc164715_9139_37ca_1cb7_07a5191210d7 ab2d8162_8b78_6d7d_a007_edd56cb0b2e5["append()"] dc096334_7316_4621_3470_9e12e8963800 -->|calls| ab2d8162_8b78_6d7d_a007_edd56cb0b2e5 85f0a081_97f6_451e_57ce_91dcf2b87d1f["toString()"] dc096334_7316_4621_3470_9e12e8963800 -->|calls| 85f0a081_97f6_451e_57ce_91dcf2b87d1f style dc096334_7316_4621_3470_9e12e8963800 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java lines 235–244
private String getKeyName(ConfigurationPropertyName name) {
StringBuilder result = new StringBuilder();
for (int i = this.root.getNumberOfElements(); i < name.getNumberOfElements(); i++) {
if (!result.isEmpty()) {
result.append('.');
}
result.append(name.getElement(i, Form.ORIGINAL));
}
return result.toString();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getKeyName() do?
getKeyName() is a function in the spring-boot codebase.
What does getKeyName() call?
getKeyName() calls 5 function(s): append, getElement, getNumberOfElements, isEmpty, toString.
What calls getKeyName()?
getKeyName() is called by 1 function(s): bindEntries.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free