|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--soot.tagkit.AbstractHost
|
+--soot.AbstractUnit
Provides default implementations for the methods in Unit.
| Field Summary | |
static java.util.List |
emptyList
Canonical AbstractUnit.emptyList list. |
| Constructor Summary | |
AbstractUnit()
|
|
| Method Summary | |
void |
apply(Switch sw)
Used to implement the Switchable construct. |
abstract java.lang.Object |
clone()
Returns a deep clone of this object. |
java.util.List |
getBoxesPointingToThis()
Returns a list of Boxes pointing to this Unit. |
java.util.List |
getDefBoxes()
Returns a list of Boxes containing Values defined in this Unit. |
java.util.List |
getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically branch targets. |
java.util.List |
getUseAndDefBoxes()
Returns a list of ValueBoxes, either used or defined in this Unit. |
java.util.List |
getUseBoxes()
Returns a list of Boxes containing Values used in this Unit. |
void |
redirectJumpsToThisTo(Unit newLocation)
Adjusts UnitBoxes pointing to this Unit to a newLocation. |
java.lang.String |
toBriefString()
Returns a brief description of this object. |
java.lang.String |
toBriefString(java.util.Map stmtToName)
Returns a brief description of this object, using the given Map. |
java.lang.String |
toBriefString(java.util.Map stmtToName,
java.lang.String indentation)
Returns a brief description of this object, using the given Map and indentation. |
java.lang.String |
toBriefString(java.lang.String indentation)
Returns a brief description of this object, using the given indentation. |
java.lang.String |
toString()
Returns a textual representation of this object. |
protected abstract java.lang.String |
toString(boolean isBrief,
java.util.Map stmtToName,
java.lang.String indentation)
Returns a textual representation of this object, with the given briefness, Map and indentation. |
java.lang.String |
toString(java.util.Map stmtToName)
Returns a textual representation of this object, using the given Map. |
java.lang.String |
toString(java.util.Map stmtToName,
java.lang.String indentation)
Returns a textual representation of this object, using the given Map and indentation. |
java.lang.String |
toString(java.lang.String indentation)
Returns a textual representation of this object, using the given indentation. |
| Methods inherited from class soot.tagkit.AbstractHost |
addTag, getTag, getTags, hasTag, removeTag |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface soot.Unit |
branches, fallsThrough |
| Methods inherited from interface soot.tagkit.Host |
addTag, getTag, getTags, hasTag, removeTag |
| Field Detail |
public static final java.util.List emptyList
| Constructor Detail |
public AbstractUnit()
| Method Detail |
public abstract java.lang.Object clone()
clone in interface Unitclone in class java.lang.Objectpublic java.util.List getUseBoxes()
getUseBoxes in interface Unitpublic java.util.List getDefBoxes()
getDefBoxes in interface Unitpublic java.util.List getUnitBoxes()
getUnitBoxes in interface Unitpublic java.util.List getBoxesPointingToThis()
getBoxesPointingToThis in interface Unitpublic java.util.List getUseAndDefBoxes()
getUseAndDefBoxes in interface Unitpublic void apply(Switch sw)
apply in interface Switchablepublic java.lang.String toBriefString()
toBriefString in interface Unitpublic java.lang.String toBriefString(java.util.Map stmtToName)
public java.lang.String toBriefString(java.lang.String indentation)
public java.lang.String toBriefString(java.util.Map stmtToName,
java.lang.String indentation)
toBriefString in interface Unitpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.util.Map stmtToName)
public java.lang.String toString(java.lang.String indentation)
public java.lang.String toString(java.util.Map stmtToName,
java.lang.String indentation)
toString in interface Unit
protected abstract java.lang.String toString(boolean isBrief,
java.util.Map stmtToName,
java.lang.String indentation)
public void redirectJumpsToThisTo(Unit newLocation)
redirectJumpsToThisTo in interface Unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||