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

Constructors

Link copied to clipboard
private constructor()

Functions

Link copied to clipboard
@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.