addParents() — spring-boot Function Reference
Architecture documentation for the addParents() function in SpringIterableConfigurationPropertySource.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8530bbd0_1062_fdb6_5a1d_de0c0c1b1e12["addParents()"] b78eeddd_2e0e_efb7_0738_fc074f96550d["tryUpdate()"] b78eeddd_2e0e_efb7_0738_fc074f96550d -->|calls| 8530bbd0_1062_fdb6_5a1d_de0c0c1b1e12 b1de2e69_eed3_bcdd_7bcf_86e8786aeebb["getParent()"] 8530bbd0_1062_fdb6_5a1d_de0c0c1b1e12 -->|calls| b1de2e69_eed3_bcdd_7bcf_86e8786aeebb 1ff371a1_2d4b_7887_987e_74cd223d208b["add()"] 8530bbd0_1062_fdb6_5a1d_de0c0c1b1e12 -->|calls| 1ff371a1_2d4b_7887_987e_74cd223d208b style 8530bbd0_1062_fdb6_5a1d_de0c0c1b1e12 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/SpringIterableConfigurationPropertySource.java lines 303–315
private void addParents(@Nullable Set<ConfigurationPropertyName> descendants,
@Nullable ConfigurationPropertyName name) {
if (descendants == null || name == null || name.isEmpty()) {
return;
}
ConfigurationPropertyName parent = name.getParent();
while (!parent.isEmpty()) {
if (!descendants.add(parent)) {
return;
}
parent = parent.getParent();
}
}
Domain
Subdomains
Calls
- add()
- getParent()
Called By
Source
Frequently Asked Questions
What does addParents() do?
addParents() is a function in the spring-boot codebase.
What does addParents() call?
addParents() calls 2 function(s): add, getParent.
What calls addParents()?
addParents() is called by 1 function(s): tryUpdate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free