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, wait
forEach, spliterator
public int getNumber()
IBasicBlock
getNumber
in interface IBasicBlock<SSAInstruction>
public int getGraphNodeId()
INodeWithNumber
getGraphNodeId
in interface INodeWithNumber
public void setGraphNodeId(int number)
setGraphNodeId
in interface INodeWithNumber
public int getFirstInstructionIndex()
IBasicBlock
getFirstInstructionIndex
in interface IBasicBlock<SSAInstruction>
public int getLastInstructionIndex()
IBasicBlock
getLastInstructionIndex
in interface IBasicBlock<SSAInstruction>
public boolean isEntryBlock()
IBasicBlock
isEntryBlock
in interface IBasicBlock<SSAInstruction>
public boolean isExitBlock()
IBasicBlock
isExitBlock
in interface IBasicBlock<SSAInstruction>
public boolean isHandlerBlock()
public boolean isCatchBlock()
IBasicBlock
isCatchBlock
in interface IBasicBlock<SSAInstruction>
public IMethod getMethod()
getMethod
in interface IBasicBlock<SSAInstruction>
public Iterator<SSAInstruction> iterator()
iterator
in interface Iterable<SSAInstruction>