Class JavaSourceReader.ReadLineResult

java.lang.Object
io.github.mkoncek.classpathless.JavaSourceReader.ReadLineResult
Enclosing class:
JavaSourceReader

static class JavaSourceReader.ReadLineResult extends Object
  • Field Details

    • line

      String line
    • insideComment

      boolean insideComment
  • Constructor Details

    • ReadLineResult

      public ReadLineResult(String line, boolean insideComment)
      Reads one line of input, ignoring content inside comments. Stores the result in this.line and this.insideComment tells whether this line continues with a block (/*) comment.
      Parameters:
      line - The line of text to read.
      insideComment - Whether of not this line started inside a block comment.