Package 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
-
-
Constructor Summary
Constructors Constructor Description LocationWhereValueBecomesNull(Location location, ValueNumber valueNumber)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LocationWhereValueBecomesNull o)
boolean
equals(java.lang.Object obj)
Location
getLocation()
ValueNumber
getValueNumber()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
LocationWhereValueBecomesNull
public LocationWhereValueBecomesNull(Location location, ValueNumber valueNumber)
Constructor.- Parameters:
location
- the Location where a value becomes nullvalueNumber
- the value number
-
-
Method Detail
-
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 interfacejava.lang.Comparable<LocationWhereValueBecomesNull>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-