onEnter

abstract fun onEnter(key: String, self: Any, args: Array<Any>)

Called as the patched method is entered, before its body runs.

Parameters

key

the patch key that fired

self

the receiver of the patched method (null for static methods)

args

the patched method's arguments, boxed