| java.lang.Object org.quilt.cl.MethodTransformer
MethodTransformer | public class MethodTransformer (Code) | | Optionally preprocesses a method, optionally transforms
its control flow graph, optionally postprocesses it. The list of
preprocessors is applied in forward order before graph transformation.
The corresponding list of postprocessors is applied in reverse order
after graph transformation.
author: Jim Dixon |
Constructor Summary | |
public | MethodTransformer(List mxf, List gxf) Sets up method transformer, saving MethodXformer vector here
and passing GraphXformer vector to that transformer. |
MethodTransformer | public MethodTransformer(List mxf, List gxf)(Code) | | Sets up method transformer, saving MethodXformer vector here
and passing GraphXformer vector to that transformer.
|
dumpExceptionHandlers | void dumpExceptionHandlers(MethodGen method, String where, int len)(Code) | | |
dumpIList | void dumpIList(MethodGen method, String where)(Code) | | |
getMethodHash | public Hashtable getMethodHash()(Code) | | Get a reference to the hash used to share data between this
and other transformers.
|
xform | public MethodGen xform(ClassGen clazz, Method orig)(Code) | | Transform a specific method, first applying preprocessors,
then transforming the graph, then applying method postprocessors.
Parameters: clazz - The class to which the method belongs Parameters: method - The MethodGen being transformed. |
|
|