Class ClassInstrumenter

java.lang.Object
org.objectweb.asm.ClassVisitor
org.jacoco.core.internal.flow.ClassProbesVisitor
org.jacoco.core.internal.instr.ClassInstrumenter

public class ClassInstrumenter extends ClassProbesVisitor
Adapter that instruments a class for coverage tracing.
  • Field Details

  • Constructor Details

    • ClassInstrumenter

      public ClassInstrumenter(IProbeArrayStrategy probeArrayStrategy, org.objectweb.asm.ClassVisitor cv)
      Emits a instrumented version of this class to the given class visitor.
      Parameters:
      probeArrayStrategy - this strategy will be used to access the probe array
      cv - next delegate in the visitor chain will receive the instrumented class
  • Method Details