Package 

Class XC_MethodHook.MethodHookParam

    • Constructor Detail

      • XC_MethodHook.MethodHookParam

        XC_MethodHook.MethodHookParam()
    • Method Detail

      • setResult

         void setResult(Object result)

        Modify the result of the method call.

        If called from beforeHookedMethod, it prevents the call to the original method.

      • setThrowable

         void setThrowable(Throwable throwable)

        Modify the exception thrown of the method call.

        If called from beforeHookedMethod, it prevents the call to the original method.

      • hasThrowable

         boolean hasThrowable()

        Returns true if an exception was thrown by the method.