Skip to content

Expose ReflectionUtils.isAssignableTo via ReflectionSupport #5641

@scordio

Description

@scordio

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

  • Expose isAssignableTo via ReflectionSupport

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions