Class TestDiagnosticLine

java.lang.Object
org.checkerframework.framework.test.diagnostics.TestDiagnosticLine

public class TestDiagnosticLine extends Object
Represents a list of TestDiagnostics, which were read from one line of a file.
  • Constructor Details

    • TestDiagnosticLine

      public TestDiagnosticLine(String filename, long lineNumber, String originalLine, List<TestDiagnostic> diagnostics)
      Creates a TestDiagnosticLine.
      Parameters:
      filename - the name of the file that the line was read from
      lineNumber - the number of the line within the file
      originalLine - the text of the line, as read from the file
      diagnostics - the diagnostics that were read from the line
  • Method Details

    • getFilename

      public String getFilename()
    • hasDiagnostics

      public boolean hasDiagnostics()
    • getLineNumber

      public long getLineNumber()
    • getOriginalLine

      public String getOriginalLine()
    • getDiagnostics

      public List<TestDiagnostic> getDiagnostics()