Hi! I have two instances of two different generic ...
# getting-started
j
Hi! I have two instances of two different generic types, say A, and B. Via reflection, how do I figure out if A has any arity-1 method that accepts an instance of B as argument?
The
::class.java.isAssignableFrom
seems to work, unless the parameter is a supertype of the instance to be applied to the method.