Details
Description
The return type of Kotlin suspending functions (as returned via getParameterType() and getGenericParameterType() methods of MethodParameter) is incorrect. The true return type is actually a generic type of the last parameter of the method.
This issue affects spring-kotlin-coroutine library, specifically issues #10 and #14.
This issue is related to SPR-15413.