Package soot.baf.internal
Class AbstractBranchInst
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.baf.internal.AbstractInst
-
- soot.baf.internal.AbstractBranchInst
-
- All Implemented Interfaces:
Serializable,Inst,Context,Host,Unit,Switchable
- Direct Known Subclasses:
AbstractOpTypeBranchInst,BGotoInst,BIfEqInst,BIfGeInst,BIfGtInst,BIfLeInst,BIfLtInst,BIfNeInst,BIfNonNullInst,BIfNullInst,BJSRInst
public abstract class AbstractBranchInst extends AbstractInst
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbranches()Returns true if execution after this statement does not necessarily continue at the following statement.UnitgetTarget()UnitBoxgetTargetBox()List<UnitBox>getUnitBoxes()Returns a list of Boxes containing Units defined in this Unit; typically branch targets.voidsetTarget(Unit target)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.baf.internal.AbstractInst
clone, containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, fallsThrough, getInCount, getInMachineCount, getName, getNetCount, getNetMachineCount, getOutCount, getOutMachineCount, getParameters
-
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
Methods inherited from class soot.tagkit.AbstractHost
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from interface soot.util.Switchable
apply
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAbstractInst
-
toString
public void toString(UnitPrinter up)
- Specified by:
toStringin interfaceUnit- Overrides:
toStringin classAbstractInst
-
getTarget
public Unit getTarget()
-
setTarget
public void setTarget(Unit target)
-
getTargetBox
public UnitBox getTargetBox()
-
getUnitBoxes
public List<UnitBox> getUnitBoxes()
Description copied from class:AbstractUnitReturns a list of Boxes containing Units defined in this Unit; typically branch targets. The list of boxes is dynamically updated as the structure changes.- Specified by:
getUnitBoxesin interfaceUnit- Overrides:
getUnitBoxesin classAbstractUnit
-
branches
public boolean branches()
Description copied from interface:UnitReturns true if execution after this statement does not necessarily continue at the following statement. GotoStmt and IfStmt will both return true.- Specified by:
branchesin interfaceUnit- Overrides:
branchesin classAbstractInst
-
-