Interface IExplodedBasicBlock
- All Superinterfaces:
IBasicBlock<SSAInstruction>, INodeWithNumber, ISSABasicBlock, Iterable<SSAInstruction>
A basic block with exactly one normal instruction (which may be null), corresponding to a single
instruction index in the SSA instruction array.
The block may also have phis.
-
Method Summary
Modifier and TypeMethodDescriptionif this represents an exception handler block, return the correspondingSSAGetCaughtExceptionInstructionget the instruction for this block, or null if the block has no instructionintget the number of the original basic block containing the instruction of this exploded blockMethods inherited from interface IBasicBlock
getFirstInstructionIndex, getLastInstructionIndex, getMethod, getNumberModifier and TypeMethodDescriptionintGet the index of the first instruction in the basic block.intGet the index of the last instruction in the basic block.intEach basic block should have a unique number in its cfgMethods inherited from interface INodeWithNumber
getGraphNodeId, setGraphNodeIdModifier and TypeMethodDescriptionintA non-negative integer which serves as an identifier for this node in it's "dominant" graph.voidsetGraphNodeId(int number) Methods inherited from interface ISSABasicBlock
getCaughtExceptionTypes, getLastInstruction, isCatchBlock, isEntryBlock, isExitBlock, iteratePhis, iteratePisModifier and TypeMethodDescriptionbooleanIs this block a catch blockbooleanDoes this block represent the unique entry to aControlFlowGraphbooleanDoes this block represent the unique exit from aControlFlowGraph?Methods inherited from interface Iterable
forEach, iterator, spliterator
-
Method Details
-
getInstruction
SSAInstruction getInstruction()get the instruction for this block, or null if the block has no instruction -
getCatchInstruction
SSAGetCaughtExceptionInstruction getCatchInstruction()if this represents an exception handler block, return the correspondingSSAGetCaughtExceptionInstruction- Throws:
IllegalArgumentException- if this does not represent an exception handler block
-
getOriginalNumber
int getOriginalNumber()get the number of the original basic block containing the instruction of this exploded block
-