public class FullObjectSet extends Union
Constructor and Description |
---|
FullObjectSet(Singletons.Global g) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(PointsToSet s)
Adds all objects in s into this union of sets, returning true if this
union was changed.
|
int |
depth() |
boolean |
hasNonEmptyIntersection(PointsToSet other)
Returns true if this set is a subset of 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.
|
Type |
type() |
static FullObjectSet |
v() |
static FullObjectSet |
v(RefType t) |
hasNonEmptyIntersection
public static FullObjectSet v()
public static FullObjectSet v(RefType t)
public Type type()
public boolean isEmpty()
public boolean hasNonEmptyIntersection(PointsToSet other)
public java.util.Set<Type> possibleTypes()
public boolean addAll(PointsToSet s)
public java.util.Set<java.lang.String> possibleStringConstants()
PointsToSet
possibleStringConstants
in interface PointsToSet
possibleStringConstants
in class Union
public java.util.Set<ClassConstant> possibleClassConstants()
PointsToSet
possibleClassConstants
in interface PointsToSet
possibleClassConstants
in class Union
public int depth()