org.jacoco.core.instr
Class InstrSupport

java.lang.Object
  extended by org.jacoco.core.instr.InstrSupport

public final class InstrSupport
extends Object

Constants and utilities for byte code instrumentation.

Version:
$Revision: $
Author:
Marc R. Hoffmann

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 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 push(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

DATAFIELD_NAME

public static final String DATAFIELD_NAME
Name of the field that stores coverage information of a class.

See Also:
Constant Field Values

DATAFIELD_ACC

public static final int DATAFIELD_ACC
Access modifiers of the field that stores coverage information of a class.

See Also:
Constant Field Values

DATAFIELD_DESC

public static final String DATAFIELD_DESC
Data type of the field that stores coverage information for a class ( boolean[]).

See Also:
Constant Field Values

INITMETHOD_NAME

public static final String INITMETHOD_NAME
Name of the initialization method.

See Also:
Constant Field Values

INITMETHOD_DESC

public static final String INITMETHOD_DESC
Descriptor of the initialization method.

See Also:
Constant Field Values

INITMETHOD_ACC

public static final int INITMETHOD_ACC
Access modifiers of the initialization method.

See Also:
Constant Field Values
Method Detail

push

public static void push(MethodVisitor mv,
                        int value)
Generates the instruction to push the given int value on the stack. Implementation taken from GeneratorAdapter.push(int).

Parameters:
mv - visitor to emit the instruction
value - the value to be pushed on the stack.