public class TimeClassTransformer extends Object implements ClassTransformer
ClassFileTransformer
that dynamically augments classes and methods
annotated with Time
annotations in order to register and collect the
method timing information.Constructor and Description |
---|
TimeClassTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
transform(String className,
javassist.CtClass ctclz)
Transform the given class
|
public TimeClassTransformer()
public void transform(String className, javassist.CtClass ctclz) throws Exception
ClassTransformer
transform
in interface ClassTransformer
className
- the name of the classctclz
- the classException
- if some error occurs