protected static final class AstTranslator.PreBasicBlock extends Object implements INodeWithNumber, IBasicBlock<SSAInstruction>
| Modifier | Constructor and Description |
|---|---|
protected |
PreBasicBlock() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFirstInstructionIndex()
Get the index of the first instruction in the basic block.
|
int |
getGraphNodeId()
A non-negative integer which serves as an identifier for this node in
it's "dominant" graph.
|
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.
|
boolean |
isHandlerBlock() |
Iterator<SSAInstruction> |
iterator() |
void |
setGraphNodeId(int number) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic int getNumber()
IBasicBlockgetNumber in interface IBasicBlock<SSAInstruction>public int getGraphNodeId()
INodeWithNumbergetGraphNodeId in interface INodeWithNumberpublic void setGraphNodeId(int number)
setGraphNodeId in interface INodeWithNumberpublic int getFirstInstructionIndex()
IBasicBlockgetFirstInstructionIndex in interface IBasicBlock<SSAInstruction>public int getLastInstructionIndex()
IBasicBlockgetLastInstructionIndex in interface IBasicBlock<SSAInstruction>public boolean isEntryBlock()
IBasicBlockisEntryBlock in interface IBasicBlock<SSAInstruction>public boolean isExitBlock()
IBasicBlockisExitBlock in interface IBasicBlock<SSAInstruction>public boolean isHandlerBlock()
public boolean isCatchBlock()
IBasicBlockisCatchBlock in interface IBasicBlock<SSAInstruction>public IMethod getMethod()
getMethod in interface IBasicBlock<SSAInstruction>public Iterator<SSAInstruction> iterator()
iterator in interface Iterable<SSAInstruction>