convertWhenHasCustomEditorShouldConvert() — spring-boot Function Reference
Architecture documentation for the convertWhenHasCustomEditorShouldConvert() function in BindConverterTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD eb783ce4_0b6c_df97_1b5f_86480db7221f["convertWhenHasCustomEditorShouldConvert()"] bdfeb006_b9da_5983_cac9_e2ba7d41504c["getPropertyEditorOnlyBindConverter()"] eb783ce4_0b6c_df97_1b5f_86480db7221f -->|calls| bdfeb006_b9da_5983_cac9_e2ba7d41504c 453ad167_21c1_223c_e055_50a2c6905e90["convert()"] eb783ce4_0b6c_df97_1b5f_86480db7221f -->|calls| 453ad167_21c1_223c_e055_50a2c6905e90 da722caa_ce50_07a3_98b6_4f811e55c38a["getText()"] eb783ce4_0b6c_df97_1b5f_86480db7221f -->|calls| da722caa_ce50_07a3_98b6_4f811e55c38a style eb783ce4_0b6c_df97_1b5f_86480db7221f 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 122–128
@Test
void convertWhenHasCustomEditorShouldConvert() {
BindConverter bindConverter = getPropertyEditorOnlyBindConverter(this::registerSampleTypeEditor);
SampleType converted = bindConverter.convert("test", ResolvableType.forClass(SampleType.class));
assertThat(converted).isNotNull();
assertThat(converted.getText()).isEqualTo("test");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does convertWhenHasCustomEditorShouldConvert() do?
convertWhenHasCustomEditorShouldConvert() is a function in the spring-boot codebase.
What does convertWhenHasCustomEditorShouldConvert() call?
convertWhenHasCustomEditorShouldConvert() 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