soot.baf.internal
Class AbstractBranchInst
java.lang.Object
|
+--soot.tagkit.AbstractHost
|
+--soot.AbstractUnit
|
+--soot.baf.internal.AbstractInst
|
+--soot.baf.internal.AbstractBranchInst
- All Implemented Interfaces:
- Host, Inst, Switchable, Unit
- Direct Known Subclasses:
- AbstractOpTypeBranchInst, BGotoInst, BIfEqInst, BIfGeInst, BIfGtInst, BIfLeInst, BIfLtInst, BIfNeInst, BIfNonNullInst, BIfNullInst
- public abstract class AbstractBranchInst
- extends AbstractInst
Method Summary |
abstract void |
apply(Switch sw)
Called when this object is visited. |
boolean |
branches()
Returns true if execution after this statement is not the following statement. |
abstract java.lang.String |
getName()
|
Unit |
getTarget()
|
UnitBox |
getTargetBox()
|
java.util.List |
getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically
branch targets. |
void |
setTarget(Unit target)
|
protected java.lang.String |
toString(boolean isBrief,
java.util.Map unitToName,
java.lang.String indentation)
Returns a textual representation of this object, with the given briefness, Map and indentation. |
Methods inherited from class soot.AbstractUnit |
getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getName
public abstract java.lang.String getName()
- Overrides:
getName
in class AbstractInst
toString
protected java.lang.String toString(boolean isBrief,
java.util.Map unitToName,
java.lang.String indentation)
- Description copied from class:
AbstractUnit
- Returns a textual representation of this object, with the given briefness, Map and indentation.
- Overrides:
toString
in class AbstractInst
getTarget
public Unit getTarget()
setTarget
public void setTarget(Unit target)
getTargetBox
public UnitBox getTargetBox()
getUnitBoxes
public java.util.List getUnitBoxes()
- Description copied from interface:
Unit
- Returns a list of Boxes containing Units defined in this Unit; typically
branch targets.
- Overrides:
getUnitBoxes
in class AbstractUnit
apply
public abstract void apply(Switch sw)
- Description copied from interface:
Switchable
- Called when this object is visited.
- Overrides:
apply
in class AbstractUnit
branches
public boolean branches()
- Description copied from interface:
Unit
- Returns true if execution after this statement is not the following statement.
- Overrides:
branches
in class AbstractInst