Class InsnFinder
java.lang.Object
org.spongepowered.asm.mixin.injection.invoke.util.InsnFinder
Utility class for finding instructions using static analysis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.tree.AbstractInsnNodefindPopInsn(Target target, org.objectweb.asm.tree.AbstractInsnNode node) Find the instruction which pops the value pushed by the specified instruction
-
Constructor Details
-
InsnFinder
public InsnFinder()
-
-
Method Details
-
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
-