|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.core.internal.instr.CondyProbeArrayStrategy
public class CondyProbeArrayStrategy
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.
| Field Summary | |
|---|---|
static String |
B_DESC
Descriptor of the bootstrap method. |
| Method Summary | |
|---|---|
void |
addMembers(org.objectweb.asm.ClassVisitor cv,
int probeCount)
Adds additional class members required by this strategy. |
int |
storeInstance(org.objectweb.asm.MethodVisitor mv,
boolean clinit,
int variable)
Creates code that stores the probe array instance in the given variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String B_DESC
| Method Detail |
|---|
public int storeInstance(org.objectweb.asm.MethodVisitor mv,
boolean clinit,
int variable)
IProbeArrayStrategy
storeInstance in interface IProbeArrayStrategymv - visitor to create codeclinit - true in case of <clinit> methodvariable - variable index to store probe array to
public void addMembers(org.objectweb.asm.ClassVisitor cv,
int probeCount)
IProbeArrayStrategy
addMembers in interface IProbeArrayStrategycv - visitor to create fields and methodsprobeCount - total number of probes required for this class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||