Home / Function/ getKnownIndexedChildren() — spring-boot Function Reference

getKnownIndexedChildren() — spring-boot Function Reference

Architecture documentation for the getKnownIndexedChildren() function in IndexedElementsBinder.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f["getKnownIndexedChildren()"]
  2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2["bindIndexed()"]
  2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2 -->|calls| 90f89c0e_f8a3_a470_c641_acaae8e6bc6f
  5acc70e6_66e3_8996_e541_fcd335154b61["getNumberOfElements()"]
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f -->|calls| 5acc70e6_66e3_8996_e541_fcd335154b61
  12350d6d_afd0_ec61_b636_491fbc78f5c2["isLastElementIndexed()"]
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f -->|calls| 12350d6d_afd0_ec61_b636_491fbc78f5c2
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  54e7db73_1a39_58a7_c600_770bf6d1f562["getLastElement()"]
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f -->|calls| 54e7db73_1a39_58a7_c600_770bf6d1f562
  8a90add5_32c6_65eb_e312_e210dff95e48["chop()"]
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  style 90f89c0e_f8a3_a470_c641_acaae8e6bc6f 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 129–139

	private Set<String> getKnownIndexedChildren(IterableConfigurationPropertySource source,
			ConfigurationPropertyName root) {
		Set<String> knownIndexedChildren = new HashSet<>();
		for (ConfigurationPropertyName name : source.filter(root::isAncestorOf)) {
			ConfigurationPropertyName choppedName = name.chop(root.getNumberOfElements() + 1);
			if (choppedName.isLastElementIndexed()) {
				knownIndexedChildren.add(choppedName.getLastElement(Form.UNIFORM));
			}
		}
		return knownIndexedChildren;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getKnownIndexedChildren() do?
getKnownIndexedChildren() is a function in the spring-boot codebase.
What does getKnownIndexedChildren() call?
getKnownIndexedChildren() calls 5 function(s): add, chop, getLastElement, getNumberOfElements, isLastElementIndexed.
What calls getKnownIndexedChildren()?
getKnownIndexedChildren() 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