protected abstract static class CFGBuilder.ExtendedNode extends Object
type
):
Node
(that
cannot throw exceptions).
Node
which can throw exceptions. It
contains a label for every possible exception type the node might throw.
Modifier and Type | Class and Description |
---|---|
static class |
CFGBuilder.ExtendedNode.ExtendedNodeType
Extended node types (description see above).
|
Modifier and Type | Field and Description |
---|---|
protected BlockImpl |
block
The basic block this extended node belongs to (as determined in phase two).
|
protected boolean |
terminatesExecution
Does this node terminate the execution? (e.g., "System.exit()")
|
protected CFGBuilder.ExtendedNode.ExtendedNodeType |
type
Type of this node.
|
Constructor and Description |
---|
ExtendedNode(CFGBuilder.ExtendedNode.ExtendedNodeType type) |
Modifier and Type | Method and Description |
---|---|
BlockImpl |
getBlock() |
CFGBuilder.Label |
getLabel() |
Node |
getNode() |
boolean |
getTerminatesExecution() |
CFGBuilder.ExtendedNode.ExtendedNodeType |
getType() |
void |
setBlock(BlockImpl b) |
void |
setTerminatesExecution(boolean terminatesExecution) |
String |
toString() |
protected BlockImpl block
protected final CFGBuilder.ExtendedNode.ExtendedNodeType type
protected boolean terminatesExecution
public ExtendedNode(CFGBuilder.ExtendedNode.ExtendedNodeType type)
public CFGBuilder.ExtendedNode.ExtendedNodeType getType()
public boolean getTerminatesExecution()
public void setTerminatesExecution(boolean terminatesExecution)
public Node getNode()
NODE
or EXCEPTION_NODE
).public CFGBuilder.Label getLabel()
CFGBuilder.ExtendedNode.ExtendedNodeType.CONDITIONAL_JUMP
or CFGBuilder.ExtendedNode.ExtendedNodeType.UNCONDITIONAL_JUMP
).public BlockImpl getBlock()
public void setBlock(BlockImpl b)