I'm implementing a @MethodConversion argument converter that delegates the value conversion to a static method via reflection, inspired by #4993 (reply in thread).
To identify the appropriate method for all use cases I want to test, I ended up reimplementing ReflectionUtils.isAssignableTo(Class, Class) (I cannot use it directly, although unsupported, due to the module system).
Would you consider exposing isAssignableTo via ReflectionSupport?
My implementation currently needs isAssignableTo(Class, Class) only, but maybe it makes sense to expose the other overload, too.
I'd love to have it on version 5, if possible 🙂
Deliverables
I'm implementing a
@MethodConversionargument converter that delegates the value conversion to a static method via reflection, inspired by #4993 (reply in thread).To identify the appropriate method for all use cases I want to test, I ended up reimplementing
ReflectionUtils.isAssignableTo(Class, Class)(I cannot use it directly, although unsupported, due to the module system).Would you consider exposing
isAssignableToviaReflectionSupport?My implementation currently needs
isAssignableTo(Class, Class)only, but maybe it makes sense to expose the other overload, too.I'd love to have it on version 5, if possible 🙂
Deliverables
isAssignableToviaReflectionSupport