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

collectUnbound() — spring-boot Function Reference

Architecture documentation for the collectUnbound() function in NoUnboundElementsBindHandler.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  0b6e9be8_c7bc_cd8a_a9ed_7a3bc23be809["collectUnbound()"]
  c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e["checkNoUnboundElements()"]
  c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e -->|calls| 0b6e9be8_c7bc_cd8a_a9ed_7a3bc23be809
  3e36b84b_bdb9_7b8c_9f97_88cf91923361["isUnbound()"]
  0b6e9be8_c7bc_cd8a_a9ed_7a3bc23be809 -->|calls| 3e36b84b_bdb9_7b8c_9f97_88cf91923361
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  0b6e9be8_c7bc_cd8a_a9ed_7a3bc23be809 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  style 0b6e9be8_c7bc_cd8a_a9ed_7a3bc23be809 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/handler/NoUnboundElementsBindHandler.java lines 107–119

	private void collectUnbound(ConfigurationPropertyName name, Set<ConfigurationProperty> unbound,
			IterableConfigurationPropertySource source) {
		IterableConfigurationPropertySource filtered = source.filter((candidate) -> isUnbound(name, candidate));
		for (ConfigurationPropertyName unboundName : filtered) {
			try {
				unbound.add(
						source.filter((candidate) -> isUnbound(name, candidate)).getConfigurationProperty(unboundName));
			}
			catch (Exception ex) {
				// Ignore
			}
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does collectUnbound() do?
collectUnbound() is a function in the spring-boot codebase.
What does collectUnbound() call?
collectUnbound() calls 2 function(s): add, isUnbound.
What calls collectUnbound()?
collectUnbound() is called by 1 function(s): checkNoUnboundElements.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free