|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A box which can contain units.
Unit
Method Summary | |
boolean |
canContainUnit(Unit u)
Returns true if this box can contain the given Unit. |
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 |
setBranchTarget(boolean branchTarget)
If not set, this is normally assumed to be true by default. |
void |
setUnit(Unit u)
Sets this box to contain the given unit. |
void |
toString(UnitPrinter up)
|
Method Detail |
public void setUnit(Unit u)
public Unit getUnit()
public boolean canContainUnit(Unit u)
public boolean isBranchTarget()
public void setBranchTarget(boolean branchTarget)
isBranchTarget()
public void toString(UnitPrinter up)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |