Class InsnFinder
- java.lang.Object
-
- org.spongepowered.asm.mixin.injection.invoke.util.InsnFinder
-
public class InsnFinder extends java.lang.ObjectUtility class for finding instructions using static analysis
-
-
Constructor Summary
Constructors Constructor Description InsnFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.tree.AbstractInsnNodefindPopInsn(Target target, org.objectweb.asm.tree.AbstractInsnNode node)Find the instruction which pops the value pushed by the specified instruction
-
-
-
Method Detail
-
findPopInsn
public org.objectweb.asm.tree.AbstractInsnNode findPopInsn(Target target, org.objectweb.asm.tree.AbstractInsnNode node)
Find the instruction which pops the value pushed by the specified instruction- Parameters:
target- target methodnode- push node- Returns:
- pop instruction or null if not found
-
-