public interface IBasicBlock<InstType> extends INodeWithNumber, Iterable<InstType>
Modifier and Type | Method and Description |
---|---|
int |
getFirstInstructionIndex()
Get the index of the first instruction in the basic block.
|
int |
getLastInstructionIndex()
Get the index of the last instruction in the basic block.
|
IMethod |
getMethod() |
int |
getNumber()
Each basic block should have a unique number in its cfg
|
boolean |
isCatchBlock()
Return true if the basic block represents a catch block.
|
boolean |
isEntryBlock()
Return true if the basic block represents the unique entry block.
|
boolean |
isExitBlock()
Return true if the basic block represents the unique exit block.
|
getGraphNodeId, setGraphNodeId
forEach, iterator, spliterator
int getFirstInstructionIndex()
int getLastInstructionIndex()
boolean isCatchBlock()
boolean isExitBlock()
boolean isEntryBlock()
IMethod getMethod()
int getNumber()