|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 |
Field Detail |
public static final java.util.List emptyList
Constructor Detail |
public AbstractUnit()
Method Detail |
public abstract java.lang.Object clone()
public java.util.List getUseBoxes()
public java.util.List getDefBoxes()
public java.util.List getUnitBoxes()
public java.util.List getBoxesPointingToThis()
public java.util.List getUseAndDefBoxes()
public void apply(Switch sw)
public java.lang.String toBriefString()
public 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)
public java.lang.String toString()
public 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)
protected abstract java.lang.String toString(boolean isBrief, java.util.Map stmtToName, java.lang.String indentation)
public void redirectJumpsToThisTo(Unit newLocation)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |