commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PascalSchumacher <...@git.apache.org>
Subject [GitHub] commons-lang pull request #141: Lang 1195: Enhance MethodUtils to allow invo...
Date Fri, 03 Jun 2016 14:52:33 GMT
Github user PascalSchumacher commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/141#discussion_r65720267
  
    --- Diff: src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java ---
    @@ -92,6 +92,29 @@ public static Object invokeMethod(final Object object, final String
methodName)
                 IllegalAccessException, InvocationTargetException {
             return invokeMethod(object, methodName, ArrayUtils.EMPTY_OBJECT_ARRAY, null);
         }
    +    
    +    /**
    +     * <p>Invokes a named method without parameters.</p>
    +     *
    +     * <p>This is a convenient wrapper for
    +     * {@link #invokeMethod(Object object,String methodName, Object[] args, Class[] parameterTypes)}.
    --- End diff --
    
    I guess this should be ``invokeMethod(final Object object, final boolean forceAccess,
final String methodName, Object[] args, Class[] parameterTypes)`?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message