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

bindAggregate() — spring-boot Function Reference

Architecture documentation for the bindAggregate() function in Binder.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  da46db46_d34d_a4fc_45c1_4ceb203ec534["bindAggregate()"]
  b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4["bindObject()"]
  b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| da46db46_d34d_a4fc_45c1_4ceb203ec534
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  da46db46_d34d_a4fc_45c1_4ceb203ec534 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  8a8cf0a1_f22c_a910_f5f4_aae8e6da19dd["withSource()"]
  da46db46_d34d_a4fc_45c1_4ceb203ec534 -->|calls| 8a8cf0a1_f22c_a910_f5f4_aae8e6da19dd
  2a552bd0_ba5a_05bf_be22_e05293be8889["withIncreasedDepth()"]
  da46db46_d34d_a4fc_45c1_4ceb203ec534 -->|calls| 2a552bd0_ba5a_05bf_be22_e05293be8889
  style da46db46_d34d_a4fc_45c1_4ceb203ec534 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java lines 462–471

	private <T> @Nullable Object bindAggregate(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler,
			Context context, AggregateBinder<?> aggregateBinder) {
		AggregateElementBinder elementBinder = (itemName, itemTarget, source) -> {
			boolean allowRecursiveBinding = aggregateBinder.isAllowRecursiveBinding(source);
			Supplier<?> supplier = () -> bind(itemName, itemTarget, handler, context, allowRecursiveBinding, false);
			return context.withSource(source, supplier);
		};
		Supplier<@Nullable Object> supplier = () -> aggregateBinder.bind(name, target, elementBinder);
		return context.withIncreasedDepth(supplier);
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does bindAggregate() do?
bindAggregate() is a function in the spring-boot codebase.
What does bindAggregate() call?
bindAggregate() calls 3 function(s): bind, withIncreasedDepth, withSource.
What calls bindAggregate()?
bindAggregate() is called by 1 function(s): bindObject.

Analyze Your Own Codebase

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

Try Supermodel Free