java.lang.Object
org.spongepowered.asm.mixin.injection.invoke.util.InsnFinder

public class InsnFinder extends Object
Utility class for finding instructions using static analysis
  • 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 method
      node - push node
      Returns:
      pop instruction or null if not found