public final class BasicBlockInContext<T extends ISSABasicBlock> extends com.ibm.wala.util.graph.impl.NodeWithNumber implements ISSABasicBlock
| Constructor and Description |
|---|
BasicBlockInContext(CGNode node,
T bb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Iterator<TypeReference> |
getCaughtExceptionTypes() |
T |
getDelegate() |
int |
getFirstInstructionIndex()
Get the index of the first instruction in the basic block.
|
SSAInstruction |
getLastInstruction() |
int |
getLastInstructionIndex()
Get the index of the last instruction in the basic block.
|
IMethod |
getMethod() |
CGNode |
getNode() |
int |
getNumber()
Each basic block should have a unique number in its cfg
|
int |
hashCode() |
boolean |
isCatchBlock()
Is this block a catch block
|
boolean |
isEntryBlock()
Does this block represent the unique entry to a
ControlFlowGraph |
boolean |
isExitBlock()
Does this block represent the unique exit from a
ControlFlowGraph? |
Iterator<SSAPhiInstruction> |
iteratePhis() |
Iterator<SSAPiInstruction> |
iteratePis() |
Iterator<SSAInstruction> |
iterator() |
String |
toString() |
getGraphNodeId, setGraphNodeIdpublic int getFirstInstructionIndex()
IBasicBlockgetFirstInstructionIndex in interface IBasicBlock<SSAInstruction>public int getLastInstructionIndex()
IBasicBlockgetLastInstructionIndex in interface IBasicBlock<SSAInstruction>public Iterator<SSAInstruction> iterator()
iterator in interface Iterable<SSAInstruction>public IMethod getMethod()
getMethod in interface IBasicBlock<SSAInstruction>public int getNumber()
IBasicBlockgetNumber in interface IBasicBlock<SSAInstruction>public boolean isCatchBlock()
ISSABasicBlockisCatchBlock in interface IBasicBlock<SSAInstruction>isCatchBlock in interface ISSABasicBlockpublic boolean isEntryBlock()
ISSABasicBlockControlFlowGraphisEntryBlock in interface IBasicBlock<SSAInstruction>isEntryBlock in interface ISSABasicBlockpublic boolean isExitBlock()
ISSABasicBlockControlFlowGraph?isExitBlock in interface IBasicBlock<SSAInstruction>isExitBlock in interface ISSABasicBlockpublic T getDelegate()
public CGNode getNode()
public Iterator<TypeReference> getCaughtExceptionTypes()
getCaughtExceptionTypes in interface ISSABasicBlockpublic SSAInstruction getLastInstruction()
getLastInstruction in interface ISSABasicBlockpublic Iterator<SSAPhiInstruction> iteratePhis()
iteratePhis in interface ISSABasicBlockpublic Iterator<SSAPiInstruction> iteratePis()
iteratePis in interface ISSABasicBlockCopyright © 2015. All rights reserved.