|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.asm.MethodVisitor
org.jacoco.core.internal.flow.MethodProbesAdapter
public final class MethodProbesAdapter
Adapter that creates additional visitor events for probes to be inserted into a method.
| Field Summary |
|---|
| Fields inherited from class org.objectweb.asm.MethodVisitor |
|---|
api, mv |
| Constructor Summary | |
|---|---|
MethodProbesAdapter(MethodProbesVisitor probesVisitor,
IProbeIdGenerator idGenerator)
Create a new adapter instance. |
|
| Method Summary | |
|---|---|
void |
setAnalyzer(org.objectweb.asm.commons.AnalyzerAdapter analyzer)
If an analyzer is set IFrame handles are calculated and emitted
to the probes methods. |
void |
visitInsn(int opcode)
|
void |
visitJumpInsn(int opcode,
org.objectweb.asm.Label label)
|
void |
visitLabel(org.objectweb.asm.Label label)
|
void |
visitLookupSwitchInsn(org.objectweb.asm.Label dflt,
int[] keys,
org.objectweb.asm.Label[] labels)
|
void |
visitTableSwitchInsn(int min,
int max,
org.objectweb.asm.Label dflt,
org.objectweb.asm.Label... labels)
|
| Methods inherited from class org.objectweb.asm.MethodVisitor |
|---|
visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodProbesAdapter(MethodProbesVisitor probesVisitor,
IProbeIdGenerator idGenerator)
probesVisitor - visitor to delegate toidGenerator - generator for unique probe ids| Method Detail |
|---|
public void setAnalyzer(org.objectweb.asm.commons.AnalyzerAdapter analyzer)
IFrame handles are calculated and emitted
to the probes methods.
analyzer - optional analyzer to setpublic void visitLabel(org.objectweb.asm.Label label)
visitLabel in class org.objectweb.asm.MethodVisitorpublic void visitInsn(int opcode)
visitInsn in class org.objectweb.asm.MethodVisitor
public void visitJumpInsn(int opcode,
org.objectweb.asm.Label label)
visitJumpInsn in class org.objectweb.asm.MethodVisitor
public void visitLookupSwitchInsn(org.objectweb.asm.Label dflt,
int[] keys,
org.objectweb.asm.Label[] labels)
visitLookupSwitchInsn in class org.objectweb.asm.MethodVisitor
public void visitTableSwitchInsn(int min,
int max,
org.objectweb.asm.Label dflt,
org.objectweb.asm.Label... labels)
visitTableSwitchInsn in class org.objectweb.asm.MethodVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||