Package soot.jimple.toolkits.pointer
Class RWSet
- java.lang.Object
-
- soot.jimple.toolkits.pointer.RWSet
-
- Direct Known Subclasses:
FullRWSet,MethodRWSet,SiteRWSet,StmtRWSet
public abstract class RWSet extends Object
Represents the read or write set of a statement.
-
-
Constructor Summary
Constructors Constructor Description RWSet()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanaddFieldRef(PointsToSet otherBase, Object field)abstract booleanaddGlobal(SootField global)abstract PointsToSetgetBaseForField(Object f)abstract booleangetCallsNative()abstract Set<?>getFields()abstract Set<?>getGlobals()abstract booleanhasNonEmptyIntersection(RWSet other)abstract booleanisEquivTo(RWSet other)abstract booleansetCallsNative()abstract intsize()Returns an iterator over any globals read/written.abstract booleanunion(RWSet other)Adds the RWSet other into this set.
-
-
-
Method Detail
-
getCallsNative
public abstract boolean getCallsNative()
-
setCallsNative
public abstract boolean setCallsNative()
-
size
public abstract int size()
Returns an iterator over any globals read/written.
-
getGlobals
public abstract Set<?> getGlobals()
-
getFields
public abstract Set<?> getFields()
-
getBaseForField
public abstract PointsToSet getBaseForField(Object f)
-
hasNonEmptyIntersection
public abstract boolean hasNonEmptyIntersection(RWSet other)
-
union
public abstract boolean union(RWSet other)
Adds the RWSet other into this set.
-
addGlobal
public abstract boolean addGlobal(SootField global)
-
addFieldRef
public abstract boolean addFieldRef(PointsToSet otherBase, Object field)
-
isEquivTo
public abstract boolean isEquivTo(RWSet other)
-
-