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.ClassVisitor
visit
in class org.objectweb.asm.ClassAdapter
public final org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
visitMethod
in interface org.objectweb.asm.ClassVisitor
visitMethod
in class org.objectweb.asm.ClassAdapter
public void visitEnd()
visitEnd
in interface org.objectweb.asm.ClassVisitor
visitEnd
in class org.objectweb.asm.ClassAdapter
public int nextId()
IProbeIdGenerator
nextId
in interface IProbeIdGenerator
Copyright © 2009-2012 Mountainminds GmbH & Co. KG. All Rights Reserved.