public class ClassProbesAdapter extends org.objectweb.asm.ClassAdapter implements IProbeIdGenerator
ClassVisitor that calculates probes for every
method.| Constructor and Description |
|---|
ClassProbesAdapter(IClassProbesVisitor cv)
Creates a new adapter that delegates to the given visitor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
nextId()
Returns the next unique probe id.
|
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces) |
void |
visitEnd() |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
public ClassProbesAdapter(IClassProbesVisitor cv)
cv - instance to delegate topublic void visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
visit in interface org.objectweb.asm.ClassVisitorvisit in class org.objectweb.asm.ClassAdapterpublic final org.objectweb.asm.MethodVisitor visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
visitMethod in interface org.objectweb.asm.ClassVisitorvisitMethod in class org.objectweb.asm.ClassAdapterpublic void visitEnd()
visitEnd in interface org.objectweb.asm.ClassVisitorvisitEnd in class org.objectweb.asm.ClassAdapterpublic int nextId()
IProbeIdGeneratornextId in interface IProbeIdGeneratorCopyright © 2009-2012 Mountainminds GmbH & Co. KG. All Rights Reserved.