|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--envgen.analysis.stat.DataFlowSet
Keeps mapping between references and a set of locations they refer to in alias analysis, and a mapping between locations and a set of values they possibly hold in side-effects analysis.
| Field Summary | |
(package private) int |
debug
|
(package private) java.util.HashMap |
map
Adds obj into dest set,
requires obj to be of type ValueSetPair. |
| Constructor Summary | |
(package private) |
DataFlowSet()
|
(package private) |
DataFlowSet(java.util.HashMap map)
|
| Method Summary | |
void |
add(java.lang.Object obj)
|
void |
add(java.lang.Object obj,
soot.toolkits.scalar.FlowSet dest)
|
void |
addWeak(java.lang.Object obj,
soot.toolkits.scalar.FlowSet dest)
Adds a mapping without overwriting previous results, used for weak update. |
void |
clear()
Clears the data flow set so it contains no entries. |
java.lang.Object |
clone()
Creates a shallow copy of this set. |
boolean |
contains(java.lang.Object obj)
|
boolean |
containsKey(java.lang.Object obj)
Returns true if this data flow set contains
an element that is structurally identical to obj. |
void |
copy(soot.toolkits.scalar.FlowSet dest)
Copies elements of this set into dest set. |
void |
difference(soot.toolkits.scalar.FlowSet other)
|
void |
difference(soot.toolkits.scalar.FlowSet other,
soot.toolkits.scalar.FlowSet dest)
Walks through the other set and subtracts its elements
from this set,
writing the result into dest. |
java.lang.Object |
emptySet()
|
boolean |
equals(java.lang.Object second)
Compares based on the content regardless of order. |
java.lang.Object |
get(java.lang.Object key)
|
soot.Value |
getKey(java.lang.Object obj)
Returns the first element from this data flow set
that is structurally identical to obj (not necessarily
the same pointer). |
java.util.HashMap |
getMap()
|
void |
intersection(soot.toolkits.scalar.FlowSet other)
|
void |
intersection(soot.toolkits.scalar.FlowSet other,
soot.toolkits.scalar.FlowSet dest)
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
remove(java.lang.Object obj)
|
void |
remove(java.lang.Object obj,
soot.toolkits.scalar.FlowSet dest)
|
void |
removeKey(java.lang.Object key)
|
int |
size()
|
java.util.List |
toList()
|
java.lang.String |
toString()
|
void |
union(soot.toolkits.scalar.FlowSet other)
|
void |
union(soot.toolkits.scalar.FlowSet other,
soot.toolkits.scalar.FlowSet dest)
Walks through the other |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
int debug
java.util.HashMap map
obj into dest set,
requires obj to be of type ValueSetPair.
| Constructor Detail |
DataFlowSet()
DataFlowSet(java.util.HashMap map)
| Method Detail |
public void add(java.lang.Object obj,
soot.toolkits.scalar.FlowSet dest)
add in interface soot.toolkits.scalar.FlowSet
public void addWeak(java.lang.Object obj,
soot.toolkits.scalar.FlowSet dest)
public void add(java.lang.Object obj)
add in interface soot.toolkits.scalar.FlowSetpublic boolean containsKey(java.lang.Object obj)
this data flow set contains
an element that is structurally identical to obj.
public soot.Value getKey(java.lang.Object obj)
this data flow set
that is structurally identical to obj (not necessarily
the same pointer).
public void copy(soot.toolkits.scalar.FlowSet dest)
this set into dest set.
requires this != null
requires dest != null
copy in interface soot.toolkits.scalar.FlowSet
public void difference(soot.toolkits.scalar.FlowSet other,
soot.toolkits.scalar.FlowSet dest)
other set and subtracts its elements
from this set,
writing the result into dest.
difference in interface soot.toolkits.scalar.FlowSetpublic void difference(soot.toolkits.scalar.FlowSet other)
difference in interface soot.toolkits.scalar.FlowSet
public void intersection(soot.toolkits.scalar.FlowSet other,
soot.toolkits.scalar.FlowSet dest)
intersection in interface soot.toolkits.scalar.FlowSetpublic void intersection(soot.toolkits.scalar.FlowSet other)
intersection in interface soot.toolkits.scalar.FlowSetpublic java.lang.Object emptySet()
emptySet in interface soot.toolkits.scalar.FlowSet
public void remove(java.lang.Object obj,
soot.toolkits.scalar.FlowSet dest)
remove in interface soot.toolkits.scalar.FlowSetpublic void remove(java.lang.Object obj)
remove in interface soot.toolkits.scalar.FlowSetpublic void removeKey(java.lang.Object key)
public java.util.Iterator iterator()
iterator in interface soot.toolkits.scalar.FlowSetpublic java.util.List toList()
toList in interface soot.toolkits.scalar.FlowSet
public void union(soot.toolkits.scalar.FlowSet other,
soot.toolkits.scalar.FlowSet dest)
other set and adds its elements to
this set, writng the result into dest.
- Specified by:
union in interface soot.toolkits.scalar.FlowSet
public void union(soot.toolkits.scalar.FlowSet other)
union in interface soot.toolkits.scalar.FlowSetpublic boolean equals(java.lang.Object second)
equals in class java.lang.Objectpublic boolean contains(java.lang.Object obj)
contains in interface soot.toolkits.scalar.FlowSetpublic java.util.HashMap getMap()
public java.lang.String toString()
toString in class java.lang.Object
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
public java.lang.Object get(java.lang.Object key)
public int size()
size in interface soot.toolkits.scalar.FlowSetpublic java.util.Set keySet()
public boolean isEmpty()
isEmpty in interface soot.toolkits.scalar.FlowSetpublic void clear()
clear in interface soot.toolkits.scalar.FlowSetpublic java.lang.Object clone()
this set.
clone in interface soot.toolkits.scalar.FlowSetclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||