Class SSAAbstractThrowInstruction

java.lang.Object
com.ibm.wala.ssa.SSAInstruction
com.ibm.wala.ssa.SSAAbstractThrowInstruction
Direct Known Subclasses:
SSAThrowInstruction

public abstract class SSAAbstractThrowInstruction extends SSAInstruction
An instruction which unconditionally throws an exception
  • Constructor Details

    • SSAAbstractThrowInstruction

      public SSAAbstractThrowInstruction(int iindex, int exception)
  • Method Details

    • toString

      public String toString(SymbolTable symbolTable)
      Specified by:
      toString in class SSAInstruction
    • getNumberOfUses

      public int getNumberOfUses()
      Overrides:
      getNumberOfUses in class SSAInstruction
    • getUse

      public int getUse(int j)
      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)
    • hashCode

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

      public boolean isPEI()
      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.