|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.core.instr.Instrumenter
public class Instrumenter
Several APIs to instrument Java class definitions for coverage tracing.
| Constructor Summary | |
|---|---|
Instrumenter(IExecutionDataAccessorGenerator runtime)
Creates a new instance based on the given runtime. |
|
| Method Summary | |
|---|---|
byte[] |
instrument(byte[] buffer)
Creates a instrumented version of the given class if possible. |
byte[] |
instrument(org.objectweb.asm.ClassReader reader)
Creates a instrumented version of the given class if possible. |
byte[] |
instrument(InputStream input)
Creates a instrumented version of the given class if possible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Instrumenter(IExecutionDataAccessorGenerator runtime)
runtime - runtime used by the instrumented classes| Method Detail |
|---|
public byte[] instrument(org.objectweb.asm.ClassReader reader)
reader - definition of the class as ASM reader
nullpublic byte[] instrument(byte[] buffer)
buffer - definition of the class
null
public byte[] instrument(InputStream input)
throws IOException
input - stream to read class definition from
null
IOException - if reading data from the stream fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||