|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.quilt.cover.stmt.GraphAction
Walk the control flow graph, adding counter vertices on all edges inbound to code vertices. XXX Except those likely to cause problems; need to review this code later to make sure that all possibilities are covered.
Constructor Summary | |
GraphAction()
constructor. |
|
GraphAction(StmtRegistry reg)
|
|
GraphAction(StmtRegistry reg,
ClassAction classAct)
Constructor used by StmtRegistry. |
Method Summary | |
static java.lang.String |
getName()
Get the name for the transformation. |
static void |
setName(java.lang.String name)
Set a name for the transformation, to allow reports to refer to it. |
void |
xform(org.apache.bcel.generic.ClassGen cg,
org.apache.bcel.generic.MethodGen method,
ControlFlowGraph cfg)
Apply the transformation to the graph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphAction()
public GraphAction(StmtRegistry reg)
public GraphAction(StmtRegistry reg, ClassAction classAct)
classAct
- The Xformer at the class level; the method needs
to report back to it.Method Detail |
public void xform(org.apache.bcel.generic.ClassGen cg, org.apache.bcel.generic.MethodGen method, ControlFlowGraph cfg)
GraphXformer
xform
in interface GraphXformer
cg
- The class being transformed.method
- MethodGen for the method being transformed.cfg
- The method's control flow graph.public static java.lang.String getName()
public static void setName(java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |