Package soot.jimple.toolkits.pointer
Class FullObjectSet
- java.lang.Object
-
- soot.jimple.toolkits.pointer.Union
-
- soot.jimple.toolkits.pointer.FullObjectSet
-
- All Implemented Interfaces:
PointsToSet
public class FullObjectSet extends Union
-
-
Constructor Summary
Constructors Constructor Description FullObjectSet(Singletons.Global g)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddAll(PointsToSet s)Adds all objects in s into this union of sets, returning true if this union was changed.intdepth()booleanhasNonEmptyIntersection(PointsToSet other)Returns true if this set is a subset of other.booleanisEmpty()Returns true if this set contains no run-time objects.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.Typetype()static FullObjectSetv()static FullObjectSetv(PrimType t)static FullObjectSetv(RefType t)-
Methods inherited from class soot.jimple.toolkits.pointer.Union
hasNonEmptyIntersection
-
-
-
-
Constructor Detail
-
FullObjectSet
public FullObjectSet(Singletons.Global g)
-
-
Method Detail
-
v
public static FullObjectSet v()
-
v
public static FullObjectSet v(RefType t)
-
v
public static FullObjectSet v(PrimType t)
-
type
public Type type()
-
isEmpty
public boolean isEmpty()
Returns true if this set contains no run-time objects.
-
hasNonEmptyIntersection
public boolean hasNonEmptyIntersection(PointsToSet other)
Returns true if this set is a subset of other.
-
possibleTypes
public Set<Type> possibleTypes()
Set of all possible run-time types of objects in the set.
-
addAll
public boolean addAll(PointsToSet s)
Adds all objects in s into this union of sets, returning true if this union was changed.
-
possibleStringConstants
public Set<String> possibleStringConstants()
Description copied from interface:PointsToSetIf this points-to set consists entirely of string constants, returns a set of these constant strings. If this point-to set may contain something other than constant strings, returns null.- Specified by:
possibleStringConstantsin interfacePointsToSet- Overrides:
possibleStringConstantsin classUnion
-
possibleClassConstants
public Set<ClassConstant> possibleClassConstants()
Description copied from interface:PointsToSetIf 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. If this point-to set may contain something else, returns null.- Specified by:
possibleClassConstantsin interfacePointsToSet- Overrides:
possibleClassConstantsin classUnion
-
depth
public int depth()
-
-