bindValue() — spring-boot Function Reference
Architecture documentation for the bindValue() function in IndexedElementsBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ef1b30d7_3319_9377_5512_fe01f5361afb["bindValue()"] 2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2["bindIndexed()"] 2b43b8a4_a8e1_d2c9_d61b_72b8b23e18d2 -->|calls| ef1b30d7_3319_9377_5512_fe01f5361afb 723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"] ef1b30d7_3319_9377_5512_fe01f5361afb -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17 1c6aeaa7_13d0_56d3_5c92_e08d9b13cb8f["convert()"] ef1b30d7_3319_9377_5512_fe01f5361afb -->|calls| 1c6aeaa7_13d0_56d3_5c92_e08d9b13cb8f style ef1b30d7_3319_9377_5512_fe01f5361afb 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 96–107
private void bindValue(Bindable<?> target, Collection<Object> collection, ResolvableType aggregateType,
ResolvableType elementType, @Nullable Object value) {
if (value == null || (value instanceof CharSequence charSequence && charSequence.isEmpty())) {
return;
}
Object aggregate = convert(value, aggregateType, target.getAnnotations());
ResolvableType collectionType = ResolvableType.forClassWithGenerics(collection.getClass(), elementType);
Collection<Object> elements = convert(aggregate, collectionType);
if (elements != null) {
collection.addAll(elements);
}
}
Domain
Subdomains
Calls
- convert()
- isEmpty()
Called By
Source
Frequently Asked Questions
What does bindValue() do?
bindValue() is a function in the spring-boot codebase.
What does bindValue() call?
bindValue() calls 2 function(s): convert, isEmpty.
What calls bindValue()?
bindValue() 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