|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.cast.ir.translator.AstTranslator.PreBasicBlock
protected static final class AstTranslator.PreBasicBlock
| Constructor Summary | |
|---|---|
protected |
AstTranslator.PreBasicBlock()
|
| Method Summary | |
|---|---|
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()
|
java.util.Iterator<IInstruction> |
iterator()
|
void |
setGraphNodeId(int number)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AstTranslator.PreBasicBlock()
| Method Detail |
|---|
public int getNumber()
IBasicBlock
getNumber in interface IBasicBlockpublic int getGraphNodeId()
INodeWithNumber
getGraphNodeId in interface INodeWithNumberpublic void setGraphNodeId(int number)
setGraphNodeId in interface INodeWithNumberpublic int getFirstInstructionIndex()
IBasicBlock
getFirstInstructionIndex in interface IBasicBlockpublic int getLastInstructionIndex()
IBasicBlock
getLastInstructionIndex in interface IBasicBlockpublic boolean isEntryBlock()
IBasicBlock
isEntryBlock in interface IBasicBlockpublic boolean isExitBlock()
IBasicBlock
isExitBlock in interface IBasicBlockpublic boolean isHandlerBlock()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isCatchBlock()
IBasicBlock
isCatchBlock in interface IBasicBlockpublic IMethod getMethod()
getMethod in interface IBasicBlockpublic java.util.Iterator<IInstruction> iterator()
iterator in interface java.lang.Iterable<IInstruction>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||