before

open fun before(param: HookParam)

原方法执行前调用。

Parameters

param

当前 hook 调用参数,可读取参数、设置返回值或设置异常