public interface PointsToSet
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(AllocNode n)
Returns true iff the set contains n.
|
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.
|
Iterator<AllocNode> |
iterator() |
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.
|
int |
size()
Size of objects in this set.
|
PointsToSet |
toCIPointsToSet() |
Collection<AllocNode> |
toCollection() |
boolean isEmpty()
boolean contains(AllocNode n)
boolean hasNonEmptyIntersection(PointsToSet other)
Set<String> possibleStringConstants()
Set<ClassConstant> possibleClassConstants()
int size()
void clear()
int pointsToSetHashCode()
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.PointsToSet toCIPointsToSet()
Collection<AllocNode> toCollection()
Copyright © 2024 Soot OSS. All rights reserved.