onExit
Called as the patched method leaves.
Parameters
key
the patch key that fired
self
the receiver of the patched method (null for static methods)
args
the argument slots as they stand at exit, boxed — the method body may have reassigned them, so these are not necessarily the values it was called with
returned
the return value, boxed; null for void methods, and meaningless when thrown is non-null (a throwing method has no return value)
thrown
the exception leaving the method, or null on a normal return