|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.quilt.cover.stmt.MethodAction
Process a MethodGen method before and after graph creation and manipulation. A QuiltClassLoader can have any number of such pre/post-processors. The preprocessors will be applied in order before graph generation and then the postprocessors will be applied in reverse order after graph manipulation is complete.
If any fatal errors occur, transformers must issue a warning message on System.err and either undo any changes or set method to null.
Constructor Summary | |
MethodAction()
|
|
MethodAction(StmtRegistry reg)
|
Method Summary | |
java.lang.String |
getName()
Get the report name for method processor. |
void |
postGraph(org.apache.bcel.generic.ClassGen clazz,
org.apache.bcel.generic.MethodGen method)
Process method after graph generation and manipulation is complete. |
void |
preGraph(org.apache.bcel.generic.ClassGen clazz,
org.apache.bcel.generic.MethodGen method)
Apply processing to method before graph is generated. |
void |
setName(java.lang.String name)
Assign a name to the method processor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MethodAction()
public MethodAction(StmtRegistry reg)
Method Detail |
public void preGraph(org.apache.bcel.generic.ClassGen clazz, org.apache.bcel.generic.MethodGen method)
preGraph
in interface MethodXformer
public void postGraph(org.apache.bcel.generic.ClassGen clazz, org.apache.bcel.generic.MethodGen method)
postGraph
in interface MethodXformer
public java.lang.String getName()
getName
in interface MethodXformer
public void setName(java.lang.String name)
setName
in interface MethodXformer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |