Class AbstractBranchInst

    • Method Detail

      • getTarget

        public Unit getTarget()
      • setTarget

        public void setTarget​(Unit target)
      • getTargetBox

        public UnitBox getTargetBox()
      • getUnitBoxes

        public List<UnitBox> getUnitBoxes()
        Description copied from class: AbstractUnit
        Returns 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:
        getUnitBoxes in interface Unit
        Overrides:
        getUnitBoxes 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