edu.umd.cs.findbugs.ba.npe
Class LocationWhereValueBecomesNull
java.lang.Object
edu.umd.cs.findbugs.ba.npe.LocationWhereValueBecomesNull
- All Implemented Interfaces:
- java.lang.Comparable<LocationWhereValueBecomesNull>
public class LocationWhereValueBecomesNull
- extends java.lang.Object
- implements java.lang.Comparable<LocationWhereValueBecomesNull>
A Location where a particular value number becomes null.
- Author:
- David Hovemeyer
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LocationWhereValueBecomesNull
public LocationWhereValueBecomesNull(Location location,
ValueNumber valueNumber)
- Constructor.
- Parameters:
location
- the Location where a value becomes nullvalueNumber
- the value number
getLocation
public Location getLocation()
- Returns:
- Returns the location.
getValueNumber
public ValueNumber getValueNumber()
- Returns:
- Returns the valueNumber.
compareTo
public int compareTo(LocationWhereValueBecomesNull o)
- Specified by:
compareTo
in interface java.lang.Comparable<LocationWhereValueBecomesNull>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.