PatchEnterAdvice
class PatchEnterAdvice
The blueprint whose @OnMethodEnter body ByteBuddy copies (inlines) into the head of every entry-patched method. One blueprint serves all entry patches — the per-patch PatchKey is bound and PatchSlot are bound to constants at weave time, so the inlined call is PatchBridge.fireEnter(slot, key, this, args).
See also
for the exit phase
Companion functions
Link copied to clipboard
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.