public class StmtRWSet extends RWSet
| Modifier and Type | Field and Description |
|---|---|
protected PointsToSet |
base |
protected boolean |
callsNative |
protected Object |
field |
| Constructor and Description |
|---|
StmtRWSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFieldRef(PointsToSet otherBase,
Object field) |
boolean |
addGlobal(SootField global) |
PointsToSet |
getBaseForField(Object f)
Returns a set of base objects whose field f is read/written.
|
boolean |
getCallsNative() |
Set |
getFields()
Returns an iterator over any fields read/written.
|
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.
|
String |
toString() |
boolean |
union(RWSet other)
Adds the RWSet other into this set.
|
protected Object field
protected PointsToSet base
protected boolean callsNative
public int size()
RWSetpublic boolean getCallsNative()
getCallsNative in class RWSetpublic boolean setCallsNative()
setCallsNative in class RWSetpublic Set getGlobals()
getGlobals in class RWSetpublic Set getFields()
public PointsToSet getBaseForField(Object f)
getBaseForField in class RWSetpublic boolean hasNonEmptyIntersection(RWSet other)
hasNonEmptyIntersection in class RWSetpublic boolean union(RWSet other)
public boolean addFieldRef(PointsToSet otherBase, Object field)
addFieldRef in class RWSetCopyright © 2020 Soot OSS. All rights reserved.