convertWhenHasEditorForArrayElementShouldConvert() — spring-boot Function Reference
Architecture documentation for the convertWhenHasEditorForArrayElementShouldConvert() function in BindConverterTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2a389190_0f94_ee61_3c43_9ae427c05fd3["convertWhenHasEditorForArrayElementShouldConvert()"] bdfeb006_b9da_5983_cac9_e2ba7d41504c["getPropertyEditorOnlyBindConverter()"] 2a389190_0f94_ee61_3c43_9ae427c05fd3 -->|calls| bdfeb006_b9da_5983_cac9_e2ba7d41504c 4e2f7a5c_6b0f_06c8_912c_47e1bd679ab4["convert()"] 2a389190_0f94_ee61_3c43_9ae427c05fd3 -->|calls| 4e2f7a5c_6b0f_06c8_912c_47e1bd679ab4 da722caa_ce50_07a3_98b6_4f811e55c38a["getText()"] 2a389190_0f94_ee61_3c43_9ae427c05fd3 -->|calls| da722caa_ce50_07a3_98b6_4f811e55c38a style 2a389190_0f94_ee61_3c43_9ae427c05fd3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindConverterTests.java lines 147–154
@Test
void convertWhenHasEditorForArrayElementShouldConvert() {
BindConverter bindConverter = getPropertyEditorOnlyBindConverter(this::registerSampleTypeEditor);
SampleType[] converted = bindConverter.convert("test", ResolvableType.forClass(SampleType[].class));
assertThat(converted).isNotNull();
assertThat(converted).isNotEmpty();
assertThat(converted[0].getText()).isEqualTo("test");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does convertWhenHasEditorForArrayElementShouldConvert() do?
convertWhenHasEditorForArrayElementShouldConvert() is a function in the spring-boot codebase.
What does convertWhenHasEditorForArrayElementShouldConvert() call?
convertWhenHasEditorForArrayElementShouldConvert() calls 3 function(s): convert, getPropertyEditorOnlyBindConverter, getText.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free