isConvertViaObjectSourceType
open fun isConvertViaObjectSourceType(sourceType: TypeDescriptor, targetType: TypeDescriptor): Boolean
Return true
if objects of sourceType
can be converted to the targetType
and the converter has Object.class
as a supported source type.
Return
if conversion happens through an ObjectTo...
converter
Since
2.4.3
Parameters
sourceType
the source type to test
targetType
the target type to test