assertNoUnboundChildren() — spring-boot Function Reference
Architecture documentation for the assertNoUnboundChildren() function in IndexedElementsBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b96ffcc5_6766_3a9b_ede9_be5f729c1b6d["assertNoUnboundChildren()"] 2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2["bindIndexed()"] 2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2 -->|calls| b96ffcc5_6766_3a9b_ede9_be5f729c1b6d 723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"] b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17 5acc70e6_66e3_8996_e541_fcd335154b61["getNumberOfElements()"] b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 5acc70e6_66e3_8996_e541_fcd335154b61 12350d6d_afd0_ec61_b636_491fbc78f5c2["isLastElementIndexed()"] b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 12350d6d_afd0_ec61_b636_491fbc78f5c2 54e7db73_1a39_58a7_c600_770bf6d1f562["getLastElement()"] b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 54e7db73_1a39_58a7_c600_770bf6d1f562 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 8a90add5_32c6_65eb_e312_e210dff95e48["chop()"] b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48 style b96ffcc5_6766_3a9b_ede9_be5f729c1b6d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/IndexedElementsBinder.java lines 141–157
private void assertNoUnboundChildren(Set<String> unboundIndexedChildren, IterableConfigurationPropertySource source,
ConfigurationPropertyName root) {
if (unboundIndexedChildren.isEmpty()) {
return;
}
Set<ConfigurationProperty> unboundProperties = new TreeSet<>();
for (ConfigurationPropertyName name : source.filter(root::isAncestorOf)) {
ConfigurationPropertyName choppedName = name.chop(root.getNumberOfElements() + 1);
if (choppedName.isLastElementIndexed()
&& unboundIndexedChildren.contains(choppedName.getLastElement(Form.UNIFORM))) {
unboundProperties.add(source.getConfigurationProperty(name));
}
}
if (!unboundProperties.isEmpty()) {
throw new UnboundConfigurationPropertiesException(unboundProperties);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does assertNoUnboundChildren() do?
assertNoUnboundChildren() is a function in the spring-boot codebase.
What does assertNoUnboundChildren() call?
assertNoUnboundChildren() calls 6 function(s): add, chop, getLastElement, getNumberOfElements, isEmpty, isLastElementIndexed.
What calls assertNoUnboundChildren()?
assertNoUnboundChildren() is called by 1 function(s): bindIndexed.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free