Package ch.qos.logback.core.util
Class ReflectionUtil
java.lang.Object
ch.qos.logback.core.util.ReflectionUtil
Helper methods for method invocation via
java.lang.reflect
package.- Since:
- 1.3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
invokeMethodOnObject
(Object obj, String methodName) static Object
invokeMethodOnObject
(Object obj, String methodName, Class[] paramTypes, Object[] params)
-
Constructor Details
-
ReflectionUtil
public ReflectionUtil()
-
-
Method Details
-
invokeMethodOnObject
public static Object invokeMethodOnObject(Object obj, String methodName) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException -
invokeMethodOnObject
public static Object invokeMethodOnObject(Object obj, String methodName, Class[] paramTypes, Object[] params) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException
-