Class ThrowTriggerAdapter

java.lang.Object
org.objectweb.asm.ClassVisitor

public class ThrowTriggerAdapter extends RuleTriggerAdapter
asm Adapter class used to add a rule event trigger call to a method of some given class
  • Field Details

    • exceptionClass

      private String exceptionClass
    • count

      private int count
  • Constructor Details

    • ThrowTriggerAdapter

      public ThrowTriggerAdapter(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, String exceptionClass, int count)
  • Method Details

    • visitMethod

      public org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
      Overrides:
      visitMethod in class org.objectweb.asm.ClassVisitor