Class NewCheckAdapter


  • public class NewCheckAdapter
    extends RuleCheckAdapter
    asm Adapter class used to check that the target method for a rule exists in a class
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private class  NewCheckAdapter.NewCheckMethodAdapter
      a method visitor used to add a rule event trigger call to a method
    • Constructor Summary

      Constructors 
      Constructor Description
      NewCheckAdapter​(org.objectweb.asm.ClassVisitor cv, TransformContext transformContext, java.lang.String typeName, int count, boolean whenComplete)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.objectweb.asm.MethodVisitor visitMethod​(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)  
      • Methods inherited from class org.objectweb.asm.ClassVisitor

        visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • typeName

        private java.lang.String typeName
      • count

        private int count
      • whenComplete

        private boolean whenComplete
    • Constructor Detail

      • NewCheckAdapter

        public NewCheckAdapter​(org.objectweb.asm.ClassVisitor cv,
                               TransformContext transformContext,
                               java.lang.String typeName,
                               int count,
                               boolean whenComplete)
    • Method Detail

      • visitMethod

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