/** * Finds method which will be used as real implementation of proxy method. * * NOTE: implementation of current class has to process proxy method * parameters to get parameters of real method. * * @param instanceClass class which provides methods * @param methodName method to find * @param params proxy method arguments * @return {@link Method} if matching method is found; <code>null</code> - * otherwise * * */ public Method findMatchingMethod(Class<?> instanceClass, String methodName, Object[] params) { Class<?>[] parameterTypes = getParameterTypes(params); // Try to find appropriate method among methods what are provided by // instanceClass. // return ReflectionUtils.findMatchingAccessibleMethod(instanceClass, methodName, parameterTypes); }