public class PointsToSetEqualsWrapper extends java.lang.Object implements PointsToSet
PointsToSet supporting the EqualsSupportingPointsToSet interface.| Modifier and Type | Field and Description |
|---|---|
protected EqualsSupportingPointsToSet |
pts |
| Constructor and Description |
|---|
PointsToSetEqualsWrapper(EqualsSupportingPointsToSet pts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
hasNonEmptyIntersection(PointsToSet other)
Returns true if this set shares some objects with other.
|
boolean |
isEmpty()
Returns true if this set contains no run-time objects.
|
java.util.Set<ClassConstant> |
possibleClassConstants()
If this points-to set consists entirely of objects of
type java.lang.Class of a known class,
returns a set of ClassConstant's that are these classes.
|
java.util.Set<java.lang.String> |
possibleStringConstants()
If this points-to set consists entirely of string constants,
returns a set of these constant strings.
|
java.util.Set<Type> |
possibleTypes()
Set of all possible run-time types of objects in the set.
|
java.lang.String |
toString() |
protected java.lang.Object |
unwrapIfNecessary(java.lang.Object obj) |
protected EqualsSupportingPointsToSet pts
public PointsToSetEqualsWrapper(EqualsSupportingPointsToSet pts)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean hasNonEmptyIntersection(PointsToSet other)
PointsToSethasNonEmptyIntersection in interface PointsToSetother - PointsToSet.hasNonEmptyIntersection(soot.PointsToSet)public boolean isEmpty()
PointsToSetisEmpty in interface PointsToSetPointsToSet.isEmpty()public java.util.Set<ClassConstant> possibleClassConstants()
PointsToSetpossibleClassConstants in interface PointsToSetPointsToSet.possibleClassConstants()public java.util.Set<java.lang.String> possibleStringConstants()
PointsToSetpossibleStringConstants in interface PointsToSetPointsToSet.possibleStringConstants()public java.util.Set<Type> possibleTypes()
PointsToSetpossibleTypes in interface PointsToSetPointsToSet.possibleTypes()protected java.lang.Object unwrapIfNecessary(java.lang.Object obj)
public java.lang.String toString()
toString in class java.lang.Object