Class SSACFG.ExceptionHandlerBasicBlock
java.lang.Object
com.ibm.wala.ssa.SSACFG.BasicBlock
com.ibm.wala.ssa.SSACFG.ExceptionHandlerBasicBlock
- All Implemented Interfaces:
IBasicBlock<SSAInstruction>
,ISSABasicBlock
,INodeWithNumber
,Iterable<SSAInstruction>
- Enclosing class:
SSACFG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCaughtExceptionType
(TypeReference exceptionType) TODO: make this more efficient if neededTheSSACFG.ExceptionHandlerBasicBlock
subclass will override this.void
setCatchInstruction
(SSAGetCaughtExceptionInstruction catchInstruction) toString()
Methods inherited from class com.ibm.wala.ssa.SSACFG.BasicBlock
addPhiForLocal, addPhiForStackSlot, addPiForRefAndPath, equals, getFirstInstructionIndex, getGraphNodeId, getLastInstruction, getLastInstructionIndex, getMethod, getNumber, getPhiForLocal, getPhiForStackSlot, getPiForRefAndPath, hashCode, hasPhi, isCatchBlock, isEntryBlock, isExitBlock, iterateNormalInstructions, iteratePhis, iteratePis, iterator, removePhis, setGraphNodeId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ExceptionHandlerBasicBlock
public ExceptionHandlerBasicBlock(int number)
-
-
Method Details
-
getCatchInstruction
-
setCatchInstruction
-
getCaughtExceptionTypes
Description copied from class:SSACFG.BasicBlock
TheSSACFG.ExceptionHandlerBasicBlock
subclass will override this.- Specified by:
getCaughtExceptionTypes
in interfaceISSABasicBlock
- Overrides:
getCaughtExceptionTypes
in classSSACFG.BasicBlock
- Returns:
- the set of exception types this block may catch.
-
toString
- Overrides:
toString
in classSSACFG.BasicBlock
-
addCaughtExceptionType
-
getAllInstructions
Description copied from class:SSACFG.BasicBlock
TODO: make this more efficient if needed- Overrides:
getAllInstructions
in classSSACFG.BasicBlock
-