Interface Block

    • Method Detail

      • getType

        Block.BlockType getType()
        Returns the type of this basic block.
        Returns:
        the type of this basic block
      • getPredecessors

        java.util.Set<Block> getPredecessors()
        Returns the predecessors of this basic block.
        Returns:
        the predecessors of this basic block
      • getSuccessors

        java.util.Set<Block> getSuccessors()
        Returns the successors of this basic block.
        Returns:
        the successors of this basic block
      • getNodes

        @Pure
        java.util.List<Node> getNodes()
        Returns the nodes contained within this basic block. The list may be empty.

        The following invariant holds.

         forall n in getNodes() :: n.getBlock() == this
         
        Returns:
        the nodes contained within this basic block
      • getLastNode

        @Nullable Node getLastNode()
        Returns the last node of this block, or null if none.
        Returns:
        the last node of this block or null