Home / Function/ convertWhenHasEditorByConventionShouldConvert() — spring-boot Function Reference

convertWhenHasEditorByConventionShouldConvert() — spring-boot Function Reference

Architecture documentation for the convertWhenHasEditorByConventionShouldConvert() function in BindConverterTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  56dad168_c81b_1c8b_7b95_c18fdd0028df["convertWhenHasEditorByConventionShouldConvert()"]
  bdfeb006_b9da_5983_cac9_e2ba7d41504c["getPropertyEditorOnlyBindConverter()"]
  56dad168_c81b_1c8b_7b95_c18fdd0028df -->|calls| bdfeb006_b9da_5983_cac9_e2ba7d41504c
  453ad167_21c1_223c_e055_50a2c6905e90["convert()"]
  56dad168_c81b_1c8b_7b95_c18fdd0028df -->|calls| 453ad167_21c1_223c_e055_50a2c6905e90
  da722caa_ce50_07a3_98b6_4f811e55c38a["getText()"]
  56dad168_c81b_1c8b_7b95_c18fdd0028df -->|calls| da722caa_ce50_07a3_98b6_4f811e55c38a
  style 56dad168_c81b_1c8b_7b95_c18fdd0028df 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 130–136

	@Test
	void convertWhenHasEditorByConventionShouldConvert() {
		BindConverter bindConverter = getPropertyEditorOnlyBindConverter(null);
		ConventionType converted = bindConverter.convert("test", ResolvableType.forClass(ConventionType.class));
		assertThat(converted).isNotNull();
		assertThat(converted.getText()).isEqualTo("test");
	}

Domain

Subdomains

Frequently Asked Questions

What does convertWhenHasEditorByConventionShouldConvert() do?
convertWhenHasEditorByConventionShouldConvert() is a function in the spring-boot codebase.
What does convertWhenHasEditorByConventionShouldConvert() call?
convertWhenHasEditorByConventionShouldConvert() 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