MCPcopy Create free account
hub / github.com/baidu/openrasp / invokeMethod

Method invokeMethod

rasp-install/java/src/test/java/Utils.java:23–28  ·  view source on GitHub ↗
(Object object, String methodName, Class[] paramTypes, Object... parameters)

Source from the content-addressed store, hash-verified

21 }
22
23 public static Object invokeMethod(Object object, String methodName, Class[] paramTypes, Object... parameters) {
24 if (object == null) {
25 return null;
26 }
27 return invokeMethod(object, object.getClass(), methodName, paramTypes, parameters);
28 }
29
30 public static Object invokeMethod(Object object, Class clazz, String methodName, Class[] paramTypes, Object... parameters) {
31 try {

Callers 6

invokeStaticMethodMethod · 0.95
invokeStringMethodMethod · 0.95
testGetUninstallerMethod · 0.95
testGetUninstallerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected