edu.cmu.cs.crystal.flow
Class ExceptionalLabel
java.lang.Object
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
ExceptionalLabel
public ExceptionalLabel(ITypeBinding exceptionType)
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