createMap() — spring-boot Function Reference
Architecture documentation for the createMap() function in MapBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD caa47bc3_2301_1297_fa81_5a3a561da1ae["createMap()"] 87daadf6_0233_73e5_c9a6_fa5a37ad45f1["bindAggregate()"] 87daadf6_0233_73e5_c9a6_fa5a37ad45f1 -->|calls| caa47bc3_2301_1297_fa81_5a3a561da1ae cedd6119_32ef_a246_afec_d50dfb21ef7f["createNewMap()"] cedd6119_32ef_a246_afec_d50dfb21ef7f -->|calls| caa47bc3_2301_1297_fa81_5a3a561da1ae 24826c4f_acf6_aa2a_3d90_87a20f29d219["getValue()"] caa47bc3_2301_1297_fa81_5a3a561da1ae -->|calls| 24826c4f_acf6_aa2a_3d90_87a20f29d219 8d8ef66e_fc29_736c_c815_846df9fa8305["getType()"] caa47bc3_2301_1297_fa81_5a3a561da1ae -->|calls| 8d8ef66e_fc29_736c_c815_846df9fa8305 style caa47bc3_2301_1297_fa81_5a3a561da1ae fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java lines 81–88
private Map<Object, Object> createMap(Bindable<?> target) {
Class<?> mapType = (target.getValue() != null) ? Map.class : target.getType().resolve(Object.class);
if (EnumMap.class.isAssignableFrom(mapType)) {
Class<?> keyType = target.getType().asMap().resolveGeneric(0);
return CollectionFactory.createMap(mapType, keyType, 0);
}
return CollectionFactory.createMap(mapType, 0);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does createMap() do?
createMap() is a function in the spring-boot codebase.
What does createMap() call?
createMap() calls 2 function(s): getType, getValue.
What calls createMap()?
createMap() is called by 2 function(s): bindAggregate, createNewMap.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free