public class StmtRWSet extends RWSet
Modifier and Type | Field and Description |
---|---|
protected PointsToSet |
base |
protected boolean |
callsNative |
protected java.lang.Object |
field |
Constructor and Description |
---|
StmtRWSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
addFieldRef(PointsToSet otherBase,
java.lang.Object field) |
boolean |
addGlobal(SootField global) |
PointsToSet |
getBaseForField(java.lang.Object f)
Returns a set of base objects whose field f is read/written.
|
boolean |
getCallsNative() |
java.util.Set |
getFields()
Returns an iterator over any fields read/written.
|
java.util.Set |
getGlobals()
Returns an iterator over any globals read/written.
|
boolean |
hasNonEmptyIntersection(RWSet other) |
boolean |
isEquivTo(RWSet other) |
boolean |
setCallsNative() |
int |
size()
Returns an iterator over any globals read/written.
|
java.lang.String |
toString() |
boolean |
union(RWSet other)
Adds the RWSet other into this set.
|
protected java.lang.Object field
protected PointsToSet base
protected boolean callsNative
public java.lang.String toString()
toString
in class java.lang.Object
public int size()
RWSet
public boolean getCallsNative()
getCallsNative
in class RWSet
public boolean setCallsNative()
setCallsNative
in class RWSet
public java.util.Set getGlobals()
getGlobals
in class RWSet
public java.util.Set getFields()
public PointsToSet getBaseForField(java.lang.Object f)
getBaseForField
in class RWSet
public boolean hasNonEmptyIntersection(RWSet other)
hasNonEmptyIntersection
in class RWSet
public boolean union(RWSet other)
public boolean addFieldRef(PointsToSet otherBase, java.lang.Object field)
addFieldRef
in class RWSet