|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.quilt.cl.MethodTransformer
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.
Constructor Summary | |
MethodTransformer(java.util.List mxf,
java.util.List gxf)
Sets up method transformer, saving MethodXformer vector here and passing GraphXformer vector to that transformer. |
Method Summary | |
java.util.Hashtable |
getMethodHash()
Get a reference to the hash used to share data between this and other transformers. |
org.apache.bcel.generic.MethodGen |
xform(org.apache.bcel.generic.ClassGen clazz,
org.apache.bcel.classfile.Method orig)
Transform a specific method, first applying preprocessors, then transforming the graph, then applying method postprocessors. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MethodTransformer(java.util.List mxf, java.util.List gxf)
Method Detail |
public java.util.Hashtable getMethodHash()
public org.apache.bcel.generic.MethodGen xform(org.apache.bcel.generic.ClassGen clazz, org.apache.bcel.classfile.Method orig)
Transform a specific method, first applying preprocessors, then transforming the graph, then applying method postprocessors.
clazz
- The class to which the method belongs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |