-
- All Implemented Interfaces:
-
net.yakclient.mixins.base.InstructionResolver
public abstract class InstructionAdapter implements InstructionResolver
The instruction resolver allows you to chain multiple
InstructionResolver
s together and adapt instructions the parents resolved instructions. The top level resolver should almost always be an InstructionReader.An example:
val reader = InstructionReader { ... } val adapter1 = object: InstructionAdapter(reader) { override fun get(): InsnList = super.get().also { /* Transform */} } val insn = adapter1.get()
-
-
Constructor Summary
Constructors Constructor Description InstructionAdapter(InstructionResolver parent)
constructs with the given resolver as its parent.
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
InstructionAdapter
InstructionAdapter(InstructionResolver parent)
constructs with the given resolver as its parent.
-
-
-
-