Class LineImpl.Fix

  • All Implemented Interfaces:
    ILine
    Enclosing class:
    LineImpl

    private static final class LineImpl.Fix
    extends LineImpl
    Immutable version.
    • Constructor Detail

      • Fix

        public Fix​(int im,
                   int ic,
                   int bm,
                   int bc)
    • Method Detail

      • increment

        public LineImpl increment​(ICounter instructions,
                                  ICounter branches)
        Description copied from class: LineImpl
        Adds the given counters to this line.
        Specified by:
        increment in class LineImpl
        Parameters:
        instructions - instructions to add
        branches - branches to add
        Returns:
        instance with new counter values