com.ibm.wala.ssa
Class SSAAbstractThrowInstruction

java.lang.Object
  extended by com.ibm.wala.ssa.SSAInstruction
      extended by com.ibm.wala.ssa.SSAAbstractThrowInstruction
All Implemented Interfaces:
IInstruction
Direct Known Subclasses:
NonExceptingThrowInstruction, SSAThrowInstruction

public abstract class SSAAbstractThrowInstruction
extends SSAInstruction


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.wala.ssa.SSAInstruction
SSAInstruction.IVisitor, SSAInstruction.Visitor
 
Constructor Summary
SSAAbstractThrowInstruction(int exception)
           
 
Method Summary
 int getException()
           
 int getNumberOfUses()
          Method getNumberOfUses.
 int getUse(int j)
          Method getUse.
 int hashCode()
           
 boolean isFallThrough()
           
 boolean isPEI()
          PEI == "Potentially excepting instruction"
 java.lang.String toString(SymbolTable symbolTable, ValueDecorator d)
          Method toString.
 
Methods inherited from class com.ibm.wala.ssa.SSAInstruction
copyForSSA, equals, getDef, getDef, getExceptionTypes, getNumberOfDefs, getValueString, hasDef, toString, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSAAbstractThrowInstruction

public SSAAbstractThrowInstruction(int exception)
Method Detail

toString

public java.lang.String toString(SymbolTable symbolTable,
                                 ValueDecorator d)
Description copied from class: SSAInstruction
Method toString.

Specified by:
toString in class SSAInstruction
Returns:
Object

getNumberOfUses

public int getNumberOfUses()
Description copied from class: SSAInstruction
Method getNumberOfUses.

Overrides:
getNumberOfUses in class SSAInstruction
Returns:
int
See Also:
SSAInstruction.getNumberOfUses()

getUse

public int getUse(int j)
Description copied from class: SSAInstruction
Method getUse.

Overrides:
getUse in class SSAInstruction
Returns:
value number representing the jth use in this instruction. -1 means TOP (i.e., the value doesn't matter)
See Also:
SSAInstruction.getUse(int)

hashCode

public int hashCode()
Specified by:
hashCode in class SSAInstruction

isPEI

public boolean isPEI()
Description copied from interface: IInstruction
PEI == "Potentially excepting instruction"

Specified by:
isPEI in interface IInstruction
Overrides:
isPEI in class SSAInstruction
Returns:
true iff this instruction may throw an exception.

isFallThrough

public boolean isFallThrough()
Specified by:
isFallThrough in class SSAInstruction
Returns:
true iff this instruction may fall through to the next

getException

public int getException()
Returns:
value number of the thrown exception object.