Github user Derek-Ashmore commented on a diff in the pull request: https://github.com/apache/commons-lang/pull/141#discussion_r65728224 --- Diff: src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java --- @@ -126,13 +149,41 @@ public static Object invokeMethod(final Object object, final String methodName, /** * <p>Invokes a named method whose parameter type matches the object type.</p> * - * <p>This method delegates the method search to {@link #getMatchingAccessibleMethod(Class, String, Class[])}.</p> + * <p>This method supports calls to methods taking primitive parameters + * via passing in wrapping classes. So, for example, a {@code Boolean} object + * would match a {@code boolean} primitive.</p> + * + * <p>This is a convenient wrapper for + * {@link #invokeMethod(Object object,String methodName, Object[] args, Class[] parameterTypes)}. --- End diff -- Yeah -- my bad. I'll correct the javadoc link. Thanks for catching that.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---