ClassAnalyzer
, ClassInstrumenter
public abstract class ClassProbesVisitor
extends org.objectweb.asm.ClassVisitor
ClassVisitor
with additional methods to get probe insertion
information for each methodConstructor | 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 | Description |
---|---|---|
abstract MethodProbesVisitor |
visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.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, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
MethodProbesVisitor
to handle
the probes of that method.visitMethod
in class org.objectweb.asm.ClassVisitor
public 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 © 2018. All rights reserved.