|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceforge.jemm.weaver.analysis.TransformationChain
public class TransformationChain
A number of transformations that are run in order.
Constructor Summary | |
---|---|
TransformationChain(Transformation[] transforms)
Creates a chain where the transforms will be run in the order of the array passed. |
Method Summary | |
---|---|
java.lang.String[] |
dependentTransforms()
Always returns a zero length array. |
java.lang.String |
getTransformationName()
Always returns chain. |
Transformation[] |
getTransforms()
Returns an array containing the transformations. |
void |
transform(javassist.CtClass clazz)
Executes all transformations in order one after the other. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.sourceforge.jemm.weaver.transformation.Transformation |
---|
equals, hashCode |
Constructor Detail |
---|
public TransformationChain(Transformation[] transforms)
transforms
- The transformations to useMethod Detail |
---|
public Transformation[] getTransforms()
public java.lang.String[] dependentTransforms()
dependentTransforms
in interface Transformation
public java.lang.String getTransformationName()
getTransformationName
in interface Transformation
public void transform(javassist.CtClass clazz) throws TransformationException
transform
in interface Transformation
clazz
- The CtClass to modify
TransformationException
- If an error occurs in the transformation process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |