mathiasbn
11/22/2016, 9:55 AMfromJson. The call takes a java.lang.reflect.Type. So I need a Type with generic information e.g. a ParameterizedType.
I can see in the debugger that a KFunction has (can have) a caller FunctionCaller$InstanceMethod that again has a returnType java.lang.reflect.Type. Exactly what i need!
Is there any way i can get my dirty hands on that, so i can make my dynamic proxy.
UPDATE: whoops. method.genericReturnType