Class ClassGenerator

    • Field Summary

      • Fields inherited from class org.objectweb.asm.ClassAdapter

        cv
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassGenerator()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract boolean canInstrument​(ClassInfo classInfo)  
      protected ClassInfo classInfo()  
      protected boolean hasInstrumented()
      Returns true if this ClassGenerator has instrumented the class bytes as a result of visiting the class.
      protected void setInstrumented​(boolean instrumented)  
      protected org.objectweb.asm.ClassWriter writer()  
      • Methods inherited from class org.objectweb.asm.ClassAdapter

        visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource
      • Methods inherited from class java.lang.Object

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

      • ClassGenerator

        public ClassGenerator()
    • Method Detail

      • canInstrument

        protected abstract boolean canInstrument​(ClassInfo classInfo)
      • writer

        protected org.objectweb.asm.ClassWriter writer()
      • classInfo

        protected ClassInfo classInfo()
      • setInstrumented

        protected void setInstrumented​(boolean instrumented)
      • hasInstrumented

        protected boolean hasInstrumented()
        Returns true if this ClassGenerator has instrumented the class bytes as a result of visiting the class.