chopNameAtNumericIndex() — spring-boot Function Reference
Architecture documentation for the chopNameAtNumericIndex() function in MapBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5["chopNameAtNumericIndex()"] 3b891a71_3217_1514_ff70_c3b7071b73f4["getEntryName()"] 3b891a71_3217_1514_ff70_c3b7071b73f4 -->|calls| f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5 5acc70e6_66e3_8996_e541_fcd335154b61["getNumberOfElements()"] f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5 -->|calls| 5acc70e6_66e3_8996_e541_fcd335154b61 adb8e383_4058_29ca_570d_ef786f054ec1["isNumericIndex()"] f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5 -->|calls| adb8e383_4058_29ca_570d_ef786f054ec1 8a90add5_32c6_65eb_e312_e210dff95e48["chop()"] f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5 -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48 style f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5 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 210–219
private ConfigurationPropertyName chopNameAtNumericIndex(ConfigurationPropertyName name) {
int start = this.root.getNumberOfElements() + 1;
int size = name.getNumberOfElements();
for (int i = start; i < size; i++) {
if (name.isNumericIndex(i)) {
return name.chop(i);
}
}
return name;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does chopNameAtNumericIndex() do?
chopNameAtNumericIndex() is a function in the spring-boot codebase.
What does chopNameAtNumericIndex() call?
chopNameAtNumericIndex() calls 3 function(s): chop, getNumberOfElements, isNumericIndex.
What calls chopNameAtNumericIndex()?
chopNameAtNumericIndex() is called by 1 function(s): getEntryName.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free