org.codehaus.aspectwerkz.transform.delegation
Class PrepareAdvisedClassTransformer
java.lang.Object
org.codehaus.aspectwerkz.transform.delegation.PrepareAdvisedClassTransformer
- All Implemented Interfaces:
- Transformer
- public class PrepareAdvisedClassTransformer
- extends Object
- implements Transformer
Prepares classes that are eligable for instrumentation.
- Author:
- Jonas Bonér , Alexandre Vasseur
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrepareAdvisedClassTransformer
public PrepareAdvisedClassTransformer()
transform
public void transform(Context context,
Klass klass)
throws Exception
- Makes the member method transformations.
- Specified by:
transform
in interface Transformer
- Parameters:
context
- the transformation contextklass
- the class set.
- Throws:
Exception
classFilter
public static boolean classFilter(SystemDefinition definition,
ExpressionContext[] ctxs,
javassist.CtClass cg)
- Filters the classes to be transformed.
- Parameters:
definition
- the definitionctxs
- expression contextscg
- the class to filter
- Returns:
- boolean true if the method should be filtered away
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.