findParameterizedType
open fun findParameterizedType(concreteClass: Class<out Any>, rawType: Class<out Any>): ParameterizedType
Walks the type hierarchy to find where the given rawType interface was parameterized. This handles inheritance chains and multiple interfaces correctly.
Return
The ParameterizedType with resolved type arguments, or null if not found
Parameters
concreteClass
The concrete class to start searching from
rawType
The raw interface type to find (e.g., Function.class)