public abstract class ClassProbesVisitor
extends org.objectweb.asm.ClassVisitor
ClassVisitor with additional methods to get probe insertion
information for each method| Constructor and Description |
|---|
ClassProbesVisitor()
New visitor instance without delegate visitor.
|
ClassProbesVisitor(org.objectweb.asm.ClassVisitor cv)
New visitor instance that delegates to the given visitor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ClassProbesVisitor()
public ClassProbesVisitor(org.objectweb.asm.ClassVisitor cv)
cv - optional next visitor in chainpublic 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 probesCopyright © 2024. All rights reserved.