Class NodeAwareMethodVisitor

java.lang.Object
org.objectweb.asm.MethodVisitor
net.covers1624.coffeegrinder.util.asm.NodeAwareMethodVisitor
Direct Known Subclasses:
InstructionReader

public class NodeAwareMethodVisitor extends org.objectweb.asm.MethodVisitor
Created by covers1624 on 4/4/21.
  • Field Summary

    Fields inherited from class org.objectweb.asm.MethodVisitor

    api, mv
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    NodeAwareMethodVisitor(int api, org.objectweb.asm.MethodVisitor methodVisitor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visitInsn(org.objectweb.asm.tree.AbstractInsnNode node, int index)
    Called before the respective Insn specific method.

    Methods inherited from class org.objectweb.asm.MethodVisitor

    getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NodeAwareMethodVisitor

      public NodeAwareMethodVisitor(int api)
    • NodeAwareMethodVisitor

      public NodeAwareMethodVisitor(int api, org.objectweb.asm.MethodVisitor methodVisitor)
  • Method Details

    • visitInsn

      public void visitInsn(org.objectweb.asm.tree.AbstractInsnNode node, int index)
      Called before the respective Insn specific method.
      Parameters:
      node - The Insn node.