com.ibm.wala.ssa
Class SSACFG.ExceptionHandlerBasicBlock

java.lang.Object
  extended by com.ibm.wala.ssa.SSACFG.BasicBlock
      extended by 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


Constructor Summary
SSACFG.ExceptionHandlerBasicBlock(int number)
           
 
Method Summary
 void addCaughtExceptionType(TypeReference exceptionType)
           
 java.util.List<SSAInstruction> getAllInstructions()
          TODO: make this more efficient if needed
 SSAGetCaughtExceptionInstruction getCatchInstruction()
           
 java.util.Iterator<TypeReference> getCaughtExceptionTypes()
          The SSACFG.ExceptionHandlerBasicBlock subclass will override this.
 void setCatchInstruction(SSAGetCaughtExceptionInstruction catchInstruction)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

SSACFG.ExceptionHandlerBasicBlock

public SSACFG.ExceptionHandlerBasicBlock(int number)
Method Detail

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