enter

@Advice.OnMethodEnter
open fun enter(slot: Int, key: String, @Advice.This(optional = true) self: Any, @Advice.AllArguments args: Array<Any>)

The inlined @OnMethodEnter body: forward the fired patch to fireEnter.

Parameters

slot

the registry slot, bound as a constant at weave time (see PatchSlot)

key

the patch key, bound as a constant at weave time (see PatchKey)

self

the receiver, or null for a static method

args

the arguments the method was called with, boxed