(Class<?> clazz, String methodName, Object... parameterTypesAndCallback)
| 102 | } |
| 103 | |
| 104 | public static void tryHookMethod(Class<?> clazz, String methodName, Object... parameterTypesAndCallback){ |
| 105 | try{ |
| 106 | findAndHookMethod(clazz, methodName, parameterTypesAndCallback); |
| 107 | } catch (Throwable e){ |
| 108 | utils.debugLog("Cannot hook method - " + clazz.getCanonicalName() + " - " + methodName + Log.getStackTraceString(e)); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | public static void tryHookMethod(String className, ClassLoader classLoader, String methodName, Object... parameterTypesAndCallback){ |
| 113 | try{ |
no test coverage detected