open static fun selectInvocableMethod(method: Method, @Nullable targetType: Class<*>): Method
Select an invocable method on the target type: either the given method itself if actually exposed on the target type, or otherwise a corresponding method on one of the target type's interfaces or on the target type itself.
targetType - the target type to search methods on (typically an AOP proxy)
IllegalStateException - if the given method is not invocable on the given target type (typically due to a proxy mismatch)
Return
a corresponding invocable method on the target type
Since
4.3
See Also
MethodIntrospector#selectInvocableMethod(Method, Class)