public abstract class AbstractUnitBox extends Object implements UnitBox
| Constructor and Description |
|---|
AbstractUnitBox() |
| Modifier and Type | Method and Description |
|---|---|
Unit |
getUnit()
Returns the unit contained within this box.
|
boolean |
isBranchTarget()
Returns true if the UnitBox is holding a Unit that is the target of a branch (ie a Unit at the beginning of a CFG
block).
|
void |
setUnit(Unit unit)
Sets this box to contain the given unit.
|
void |
toString(UnitPrinter up) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanContainUnitprotected Unit unit
public boolean isBranchTarget()
UnitBoxReturns false if the UnitBox is holding a Unit that indicates the end of a CFG block and may require specialised processing for SSA.
isBranchTarget in interface UnitBoxpublic void setUnit(Unit unit)
UnitBoxpublic Unit getUnit()
UnitBoxpublic void toString(UnitPrinter up)
Copyright © 2024 Soot OSS. All rights reserved.