org.sourceforge.jemm.weaver.transformation
Class MethodAnnotationTransformation
java.lang.Object
org.sourceforge.jemm.weaver.transformation.AbstractClassTransformation
org.sourceforge.jemm.weaver.transformation.MethodAnnotationTransformation
- All Implemented Interfaces:
- Transformation
public class MethodAnnotationTransformation
- extends AbstractClassTransformation
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MethodAnnotationTransformation
public MethodAnnotationTransformation()
transform
public void transform(javassist.CtClass clazz)
throws TransformationException
- Description copied from interface:
Transformation
- Modifies the passed in CtClass based on the transformation necessary.
- Specified by:
transform
in interface Transformation
- Specified by:
transform
in class AbstractClassTransformation
- Parameters:
clazz
- The CtClass to modify
- Throws:
TransformationException
- If an error occurs in the transformation process
findAccessedAttributes
public java.util.Collection<MethodAnnotationTransformation.FieldDetails> findAccessedAttributes(javassist.CtMethod method)
dependentTransforms
public java.lang.String[] dependentTransforms()
- Description copied from interface:
Transformation
- Should return a list of the transformations that this transform requires before
it can execute on a class.
For the core Transformations this is equal to getClass().getSimpleName().
- Specified by:
dependentTransforms
in interface Transformation
- Specified by:
dependentTransforms
in class AbstractClassTransformation
- Returns:
- A list of transforms that must run first.
Copyright © 2009. All Rights Reserved.