com.ibm.wala.util.warnings
Class ResolutionFailure
java.lang.Object
com.ibm.wala.util.warnings.Warning
com.ibm.wala.util.warnings.MethodWarning
com.ibm.wala.util.warnings.ResolutionFailure
- All Implemented Interfaces:
- java.lang.Comparable
public class ResolutionFailure
- extends MethodWarning
A failure to resolve some entity while processing a particular
node
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ResolutionFailure
public ResolutionFailure(CGNode node,
java.lang.Object ref,
java.lang.String message)
throws java.lang.NullPointerException
- Parameters:
node - ref -
- Throws:
java.lang.NullPointerException - if node is null
getMsg
public java.lang.String getMsg()
- Description copied from class:
Warning
- Must return the same String always -- this is required by the
implementation of hashCode.
- Specified by:
getMsg in class Warning
create
public static ResolutionFailure create(CGNode node,
java.lang.Object ref)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
create
public static ResolutionFailure create(CGNode node,
java.lang.Object ref,
java.lang.String msg)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
make
public static ResolutionFailure make(CGNode node,
java.lang.Object ref)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class Warning
hashCode
public int hashCode()
- Overrides:
hashCode in class Warning