|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.asm.ClassVisitor
org.jacoco.core.internal.flow.ClassProbesVisitor
public abstract class ClassProbesVisitor
A ClassVisitor with additional methods to get probe insertion
information for each method
| Field Summary |
|---|
| Fields inherited from class org.objectweb.asm.ClassVisitor |
|---|
api, cv |
| Constructor Summary | |
|---|---|
ClassProbesVisitor()
New visitor instance without delegate visitor. |
|
ClassProbesVisitor(org.objectweb.asm.ClassVisitor cv)
New visitor instance that delegates to the given visitor. |
|
| Method Summary | |
|---|---|
abstract MethodProbesVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
When visiting a method we need a MethodProbesVisitor to handle
the probes of that method. |
abstract void |
visitTotalProbeCount(int count)
Reports the total number of encountered probes. |
| Methods inherited from class org.objectweb.asm.ClassVisitor |
|---|
visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassProbesVisitor()
public ClassProbesVisitor(org.objectweb.asm.ClassVisitor cv)
cv - optional next visitor in chain| Method Detail |
|---|
public abstract MethodProbesVisitor visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
MethodProbesVisitor to handle
the probes of that method.
visitMethod in class org.objectweb.asm.ClassVisitorpublic abstract void visitTotalProbeCount(int count)
ClassVisitor.visitEnd(). For interfaces
this method is called before the first method (the static initializer) is
emitted.
count - total number of probes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||