bindToMapWithPropertyEditorForKey() — spring-boot Function Reference
Architecture documentation for the bindToMapWithPropertyEditorForKey() function in MapBinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 80e76bf9_a2b6_b9a4_ddd4_5a0223a19871["bindToMapWithPropertyEditorForKey()"] dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] 80e76bf9_a2b6_b9a4_ddd4_5a0223a19871 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] 80e76bf9_a2b6_b9a4_ddd4_5a0223a19871 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 d7626b8d_946e_609d_ccf0_ffbf47d8df9a["get()"] 80e76bf9_a2b6_b9a4_ddd4_5a0223a19871 -->|calls| d7626b8d_946e_609d_ccf0_ffbf47d8df9a 4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"] 80e76bf9_a2b6_b9a4_ddd4_5a0223a19871 -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6 style 80e76bf9_a2b6_b9a4_ddd4_5a0223a19871 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/MapBinderTests.java lines 550–559
@Test
@SuppressWarnings("rawtypes")
void bindToMapWithPropertyEditorForKey() {
// gh-12166
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
source.put("foo.[java.lang.RuntimeException]", "bar");
this.sources.add(source);
Map<Class, String> map = this.binder.bind("foo", Bindable.mapOf(Class.class, String.class)).get();
assertThat(map).containsExactly(entry(RuntimeException.class, "bar"));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindToMapWithPropertyEditorForKey() do?
bindToMapWithPropertyEditorForKey() is a function in the spring-boot codebase.
What does bindToMapWithPropertyEditorForKey() call?
bindToMapWithPropertyEditorForKey() calls 4 function(s): MockConfigurationPropertySource, add, get, put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free