|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.core.internal.instr.InstrSupport
public final class InstrSupport
Constants and utilities for byte code instrumentation.
| Field Summary | |
|---|---|
static int |
DATAFIELD_ACC
Access modifiers of the field that stores coverage information of a class. |
static String |
DATAFIELD_DESC
Data type of the field that stores coverage information for a class ( boolean[]). |
static int |
DATAFIELD_INTF_ACC
Access modifiers of the field that stores coverage information of a Java 8 interface. |
static String |
DATAFIELD_NAME
Name of the field that stores coverage information of a class. |
static int |
INITMETHOD_ACC
Access modifiers of the initialization method. |
static String |
INITMETHOD_DESC
Descriptor of the initialization method. |
static String |
INITMETHOD_NAME
Name of the initialization method. |
| Method Summary | |
|---|---|
static void |
assertNotInstrumented(String member,
String owner)
Ensures that the given member does not correspond to a internal member created by the instrumentation process. |
static void |
push(org.objectweb.asm.MethodVisitor mv,
int value)
Generates the instruction to push the given int value on the stack. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DATAFIELD_NAME
public static final int DATAFIELD_ACC
public static final int DATAFIELD_INTF_ACC
public static final String DATAFIELD_DESC
boolean[]).
public static final String INITMETHOD_NAME
public static final String INITMETHOD_DESC
public static final int INITMETHOD_ACC
| Method Detail |
|---|
public static void assertNotInstrumented(String member,
String owner)
throws IllegalStateException
member - name of the member to checkowner - name of the class owning the member
IllegalStateException - thrown if the member has the same name than the
instrumentation member
public static void push(org.objectweb.asm.MethodVisitor mv,
int value)
GeneratorAdapter.push(int).
mv - visitor to emit the instructionvalue - the value to be pushed on the stack.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||