public class WrappedPointsToSet extends Object implements EqualsSupportingPointsToSet
| Constructor and Description |
|---|
WrappedPointsToSet(PointsToSetInternal wrapped) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PointsToSetInternal |
getWrapped() |
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.
|
boolean |
pointsToSetEquals(Object other)
Returns
true if and only if other holds the same alloc nodes as this. |
int |
pointsToSetHashCode()
Computes a hash code based on the contents of the points-to set.
|
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.
|
Set<String> |
possibleStringConstants()
If this points-to set consists entirely of string constants, returns a set of these constant strings.
|
Set<Type> |
possibleTypes()
Set of all possible run-time types of objects in the set.
|
String |
toString() |
protected Object |
unwrapIfNecessary(Object obj) |
public WrappedPointsToSet(PointsToSetInternal wrapped)
public PointsToSetInternal getWrapped()
public boolean hasNonEmptyIntersection(PointsToSet other)
PointsToSethasNonEmptyIntersection in interface PointsToSetpublic boolean isEmpty()
PointsToSetisEmpty in interface PointsToSetpublic Set<ClassConstant> possibleClassConstants()
PointsToSetpossibleClassConstants in interface PointsToSetpublic Set<String> possibleStringConstants()
PointsToSetpossibleStringConstants in interface PointsToSetpublic Set<Type> possibleTypes()
PointsToSetpossibleTypes in interface PointsToSetpublic boolean pointsToSetEquals(Object other)
true if and only if other holds the same alloc nodes as this. Note that equals() is not overwritten
on purpose. This is because Spark relies on comparison by object identity.pointsToSetEquals in interface EqualsSupportingPointsToSetpublic int pointsToSetHashCode()
pointsToSetHashCode in interface EqualsSupportingPointsToSetCopyright © 2020 Soot OSS. All rights reserved.