Rename CoroutinesUtils#invokeHandlerMethod to invokeSuspendingFunction

This commit is contained in:
Sebastien Deleuze
2019-09-03 23:39:39 +02:00
parent 2b4eb610a7
commit 9b33b0ad58
3 changed files with 5 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
Method method = getBridgedMethod();
ReflectionUtils.makeAccessible(method);
if (KotlinDetector.isKotlinReflectPresent() && KotlinDetector.isKotlinType(method.getDeclaringClass())) {
value = CoroutinesUtils.invokeHandlerMethod(method, getBean(), args);
value = CoroutinesUtils.invokeSuspendingFunction(method, getBean(), args);
}
else {
value = method.invoke(getBean(), args);