public interface IExecutionDataAccessorGenerator
boolean[]
instance from the runtime. The mechanism is runtime
specific and therefore abstracted by this interface. Implementations are
provided by IRuntime
implementations and are used by the
instrumentation process.Modifier and Type | Method and Description |
---|---|
int |
generateDataAccessor(long classid,
String classname,
int probecount,
org.objectweb.asm.MethodVisitor mv)
This method generates the byte code required to obtain the coverage data
structure for the class with the given id.
|
int generateDataAccessor(long classid, String classname, int probecount, org.objectweb.asm.MethodVisitor mv)
boolean[]
instance to the
operand stack. Except this result object the generated code must not make
any assumptions about the structure of the embedding method or class. The
generated code must not use or allocate local variables.classid
- identifier of the classclassname
- VM class nameprobecount
- probe count for this classmv
- code outputCopyright © 2018. All rights reserved.