|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.core.ControlFlowGraph.Edge
The Edge represents an edge leaving a basic block and
(optionally) arriving at another, known basic block. When the target
is not know, for example in the case of an indirect call or branch,
then the accessor methods to this field return null. Each
edge has a type that is represented as a string.
| Method Summary | |
ControlFlowGraph.Block |
getSource()
The getSource() method returns the basic block that
is the source of this edge. |
ControlFlowGraph.Block |
getTarget()
The getTarget() method returns the known target of
this control flow graph edge, if it is known. |
java.lang.String |
getType()
The getType() method returns the string name of the
type of this edge. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getType()
getType() method returns the string name of the
type of this edge. This type denotes whether it is a call, return,
or regular edge.
public ControlFlowGraph.Block getSource()
getSource() method returns the basic block that
is the source of this edge. The edge is always from the last
instruction in the basic block.
public ControlFlowGraph.Block getTarget()
getTarget() method returns the known target of
this control flow graph edge, if it is known. In the case of indirect
calls, branches, or a return, the target block is not known--in that
case, this method returns null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||