|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoot.tagkit.AbstractHost
soot.AbstractUnit
Provides default implementations for the methods in Unit.
| Field Summary | |
static List |
emptyList
Canonical AbstractUnit.emptyList list. |
| Constructor Summary | |
AbstractUnit()
|
|
| Method Summary | |
void |
addBoxPointingToThis(UnitBox b)
Adds a box to the list returned by getBoxesPointingToThis. |
void |
apply(Switch sw)
Used to implement the Switchable construct. |
void |
clearUnitBoxes()
Clears any pointers to and from this Unit's UnitBoxes. |
abstract Object |
clone()
Returns a deep clone of this object. |
List |
getBoxesPointingToThis()
Returns a list of Boxes pointing to this Unit. |
List |
getDefBoxes()
Returns a list of Boxes containing Values defined in this Unit. |
List |
getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically branch targets. |
List |
getUseAndDefBoxes()
Returns a list of ValueBoxes, either used or defined in this Unit. |
List |
getUseBoxes()
Returns a list of Boxes containing Values used in this Unit. |
void |
redirectJumpsToThisTo(Unit newLocation)
Redirects jumps to this Unit to newLocation. |
void |
removeBoxPointingToThis(UnitBox b)
Removes a box from the list returned by getBoxesPointingToThis. |
| Methods inherited from class soot.tagkit.AbstractHost |
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface soot.Unit |
branches, fallsThrough, toString |
| Methods inherited from interface soot.tagkit.Host |
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag |
| Field Detail |
public static final List emptyList
| Constructor Detail |
public AbstractUnit()
| Method Detail |
public abstract Object clone()
clone in interface Unitpublic List getUseBoxes()
getUseBoxes in interface Unitpublic List getDefBoxes()
getDefBoxes in interface Unitpublic List getUnitBoxes()
getUnitBoxes in interface Unitpublic List getBoxesPointingToThis()
getBoxesPointingToThis in interface Unitpublic void addBoxPointingToThis(UnitBox b)
Unit
addBoxPointingToThis in interface Unitpublic void removeBoxPointingToThis(UnitBox b)
Unit
removeBoxPointingToThis in interface Unitpublic void clearUnitBoxes()
Unit
clearUnitBoxes in interface Unitpublic List getUseAndDefBoxes()
getUseAndDefBoxes in interface Unitpublic void apply(Switch sw)
apply in interface Switchablepublic void redirectJumpsToThisTo(Unit newLocation)
Unit
redirectJumpsToThisTo in interface UnitPatchingChain.getNonPatchingChain(),
soot.shimple.Shimple#redirectToPreds(Chain, Unit),
Shimple.redirectPointers(Unit, Unit)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||