Package org.jacoco.core.internal.instr
package org.jacoco.core.internal.instr
-
ClassDescriptionThe strategy for regular classes adds a static field to hold the probe array and a static initialization method requesting the probe array from the runtime.Adapter that instruments a class for coverage tracing.This strategy for Java 11+ class files uses
ConstantDynamic
to hold the probe array and adds bootstrap method requesting the probe array from the runtime.Eliminates consecutive stackmap frame definitions which causes ASM to create invalid class files.Constants and utilities for byte code instrumentation.This strategy for Java 8 interfaces adds a static method requesting the probe array from the runtime, a static field to hold the probe array and adds code for its initialization into interface initialization method.Strategies to retrieve the probe array instance for each method within a type.Internal interface for insertion of probes into in the instruction sequence of a method.The strategy for interfaces inlines the runtime access directly into the methods as this is the only method without keeping reference within this class.This method adapter inserts probes as requested by theMethodProbesVisitor
events.The strategy does not emit any code at all.Factory to find a suitable strategy to access the probe array for a given class.Internal class to remember the total number of probes required for a class.Internal utility to add probes into the control flow of a method.Support class to filter entries from JARs related to signatures.