com.ibm.wala.ssa
Class SSACFG.ExceptionHandlerBasicBlock
java.lang.Object
com.ibm.wala.ssa.SSACFG.BasicBlock
com.ibm.wala.ssa.SSACFG.ExceptionHandlerBasicBlock
- All Implemented Interfaces:
- IBasicBlock, ISSABasicBlock, INodeWithNumber, java.lang.Iterable<IInstruction>
- Enclosing class:
- SSACFG
public class SSACFG.ExceptionHandlerBasicBlock
- extends SSACFG.BasicBlock
| Methods inherited from class com.ibm.wala.ssa.SSACFG.BasicBlock |
addPhiForLocal, addPhiForStackSlot, equals, getFirstInstructionIndex, getGraphNodeId, getLastInstruction, getLastInstructionIndex, getMethod, getNumber, getPhiForLocal, getPhiForStackSlot, 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 |
SSACFG.ExceptionHandlerBasicBlock
public SSACFG.ExceptionHandlerBasicBlock(int number)
getCatchInstruction
public SSAGetCaughtExceptionInstruction getCatchInstruction()
setCatchInstruction
public void setCatchInstruction(SSAGetCaughtExceptionInstruction catchInstruction)
getCaughtExceptionTypes
public java.util.Iterator<TypeReference> getCaughtExceptionTypes()
- Description copied from class:
SSACFG.BasicBlock
- The
SSACFG.ExceptionHandlerBasicBlock subclass will override this.
- Specified by:
getCaughtExceptionTypes in interface ISSABasicBlock- Overrides:
getCaughtExceptionTypes in class SSACFG.BasicBlock
- Returns:
- the set of exception types this block may catch.
- See Also:
ISSABasicBlock.getCaughtExceptionTypes()
toString
public java.lang.String toString()
- Overrides:
toString in class SSACFG.BasicBlock
- See Also:
Object.toString()
addCaughtExceptionType
public void addCaughtExceptionType(TypeReference exceptionType)
getAllInstructions
public java.util.List<SSAInstruction> getAllInstructions()
- Description copied from class:
SSACFG.BasicBlock
- TODO: make this more efficient if needed
- Overrides:
getAllInstructions in class SSACFG.BasicBlock