insert

fun MethodNode.insert(target: AbstractInsnNode? = null, routine: BlockAssembly.() -> Unit)(source)

Insert instructions into this method after the specified target, or at the beginning if the target is null.

Parameters

target

the target to insert at

routine

instruction assembly callback