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

BindConverter() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  aaa8538c_f61c_196d_27ae_0bd80929b93d["BindConverter()"]
  985e9d0f_d9b1_870e_1fbb_f8b3a744475b["get()"]
  985e9d0f_d9b1_870e_1fbb_f8b3a744475b -->|calls| aaa8538c_f61c_196d_27ae_0bd80929b93d
  3595b7c7_fd81_86e3_8dc6_62a8d9071b4f["getSharedInstance()"]
  3595b7c7_fd81_86e3_8dc6_62a8d9071b4f -->|calls| aaa8538c_f61c_196d_27ae_0bd80929b93d
  6831c462_e878_7253_f5f0_f63078521c62["TypeConverterConversionService()"]
  aaa8538c_f61c_196d_27ae_0bd80929b93d -->|calls| 6831c462_e878_7253_f5f0_f63078521c62
  3595b7c7_fd81_86e3_8dc6_62a8d9071b4f["getSharedInstance()"]
  aaa8538c_f61c_196d_27ae_0bd80929b93d -->|calls| 3595b7c7_fd81_86e3_8dc6_62a8d9071b4f
  style aaa8538c_f61c_196d_27ae_0bd80929b93d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindConverter.java lines 64–79

	private BindConverter(@Nullable List<ConversionService> conversionServices,
			@Nullable Consumer<PropertyEditorRegistry> propertyEditorInitializer) {
		List<ConversionService> delegates = new ArrayList<>();
		delegates.add(new TypeConverterConversionService(propertyEditorInitializer));
		boolean hasApplication = false;
		if (!CollectionUtils.isEmpty(conversionServices)) {
			for (ConversionService conversionService : conversionServices) {
				delegates.add(conversionService);
				hasApplication = hasApplication || conversionService instanceof ApplicationConversionService;
			}
		}
		if (!hasApplication) {
			delegates.add(ApplicationConversionService.getSharedInstance());
		}
		this.delegates = Collections.unmodifiableList(delegates);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does BindConverter() do?
BindConverter() is a function in the spring-boot codebase.
What does BindConverter() call?
BindConverter() calls 2 function(s): TypeConverterConversionService, getSharedInstance.
What calls BindConverter()?
BindConverter() is called by 2 function(s): get, getSharedInstance.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free