soot.baf.internal
Class AbstractBranchInst
java.lang.Object
soot.tagkit.AbstractHost
soot.AbstractUnit
soot.baf.internal.AbstractInst
soot.baf.internal.AbstractBranchInst
- All Implemented Interfaces:
- Context, Host, Inst, Serializable, Switchable, Unit
- Direct Known Subclasses:
- AbstractOpTypeBranchInst, BGotoInst, BIfEqInst, BIfGeInst, BIfGtInst, BIfLeInst, BIfLtInst, BIfNeInst, BIfNonNullInst, BIfNullInst
- public abstract class AbstractBranchInst
- extends AbstractInst
- See Also:
- Serialized Form
Methods inherited from class soot.baf.internal.AbstractInst |
clone, containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, fallsThrough, getInCount, getInMachineCount, getNetCount, getNetMachineCount, getOutCount, getOutMachineCount, getParameters |
getName
public abstract String getName()
- Specified by:
getName
in class AbstractInst
toString
public String toString()
- Overrides:
toString
in class AbstractInst
toString
public void toString(UnitPrinter up)
- Specified by:
toString
in interface Unit
- Overrides:
toString
in class AbstractInst
getTarget
public Unit getTarget()
setTarget
public void setTarget(Unit target)
getTargetBox
public UnitBox getTargetBox()
getUnitBoxes
public List getUnitBoxes()
- Description copied from interface:
Unit
- Returns a list of Boxes containing Units defined in this Unit; typically
branch targets.
- Specified by:
getUnitBoxes
in interface Unit
- Overrides:
getUnitBoxes
in class AbstractUnit
apply
public abstract void apply(Switch sw)
- Description copied from interface:
Switchable
- Called when this object is visited.
- Specified by:
apply
in interface Switchable
- Overrides:
apply
in class AbstractUnit
branches
public boolean branches()
- Description copied from interface:
Unit
- Returns true if execution after this statement does not necessarily continue at the following statement. GotoStmt and IfStmt will both return true.
- Specified by:
branches
in interface Unit
- Overrides:
branches
in class AbstractInst