edu.cmu.cs.crystal.flow
Class ExceptionalLabel

java.lang.Object
  extended by edu.cmu.cs.crystal.flow.ExceptionalLabel
All Implemented Interfaces:
ILabel

public class ExceptionalLabel
extends Object
implements ILabel

A label for edges that are on exceptional control flow. This maintains a link to the ITypeBinding of the exception for this label. This occurs in exceptional control flow from throws, method calls,etc.

Author:
ciera

Constructor Summary
ExceptionalLabel(ITypeBinding exceptionType)
           
 
Method Summary
 boolean equals(Object obj)
           
 ITypeBinding getExceptionType()
           
 String getLabel()
           
 int hashCode()
           
 void setExceptionType(ITypeBinding branchValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionalLabel

public ExceptionalLabel(ITypeBinding exceptionType)
Method Detail

getExceptionType

public ITypeBinding getExceptionType()
Returns:
the type of the exception that is thrown on this control flow

setExceptionType

public void setExceptionType(ITypeBinding branchValue)

getLabel

public String getLabel()
Specified by:
getLabel in interface ILabel
Returns:
the fully qualified name for the exception type

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object