Class LineParser

java.lang.Object
mockit.coverage.reporting.parsing.LineParser

public final class LineParser extends Object
Parses a source line into one or more consecutive segments, identifying which ones contain Java code and which ones contain only comments. Block comments initiated in a previous line are kept track of until the end of the block is reached.
  • Constructor Details

    • LineParser

      public LineParser()
  • Method Details

    • getNumber

      public @org.checkerframework.checker.index.qual.NonNegative int getNumber()
    • isInComments

      public boolean isInComments()
    • isBlankLine

      public boolean isBlankLine()
    • getInitialElement

      @NonNull public LineElement getInitialElement()