edu.umd.cs.findbugs.ba
public class Edge extends AbstractEdge<Edge,BasicBlock> implements EdgeTypes, Debug
See Also: BasicBlock CFG
| Constructor Summary | |
|---|---|
| Edge(BasicBlock source, BasicBlock dest)
Constructor.
| |
| Method Summary | |
|---|---|
| static String | edgeTypeToString(int edgeType)
Get string representing given edge type. |
| String | formatAsString(boolean reverse)
Return a string representation of the edge. |
| int | getFlags()
Get the edge flags. |
| int | getId() |
| int | getType()
Get the type of edge. |
| boolean | isBackwardInBytecode() |
| boolean | isExceptionEdge()
Is the edge an exception edge? |
| boolean | isFlagSet(int flag)
Return if given edge flag is set.
|
| void | setFlags(int flags)
Set the edge flags. |
| void | setType(int type)
Set the type of edge. |
| boolean | sourceIsTopOfLoop(Set<Integer> positions) |
| static int | stringToEdgeType(String s)
Get numeric edge type from string representation. |
Parameters: source source basic block dest destination basic block
Parameters: flag the edge flag
Returns: true if the flag is set, false otherwise