ConverterBeanAdapter Class — spring-boot Architecture
Architecture documentation for the ConverterBeanAdapter class in ApplicationConversionService.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/convert/ApplicationConversionService.java lines 529–546
static final class ConverterBeanAdapter extends BeanAdapter<Converter<?, ?>> {
ConverterBeanAdapter(Converter<?, ?> bean, ResolvableType beanType) {
super(bean, beanType);
}
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
return super.matches(sourceType, targetType)
&& conditionalConverterCandidateMatches(bean(), sourceType, targetType);
}
@Override
public @Nullable Object convert(@Nullable Object source, TypeDescriptor sourceType, TypeDescriptor targetType) {
return convert(source, targetType, bean());
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free