Class TestDiagnosticLine
java.lang.Object
org.checkerframework.framework.test.diagnostics.TestDiagnosticLine
Represents a list of TestDiagnostics, which were read from one line of a file.
-
Constructor Summary
ConstructorsConstructorDescriptionTestDiagnosticLine(String filename, long lineNumber, String originalLine, List<TestDiagnostic> diagnostics) Creates a TestDiagnosticLine. -
Method Summary
Modifier and TypeMethodDescriptionlongboolean
-
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 fromlineNumber- the number of the line within the fileoriginalLine- the text of the line, as read from the filediagnostics- the diagnostics that were read from the line
-
-
Method Details
-
getFilename
-
hasDiagnostics
public boolean hasDiagnostics() -
getLineNumber
public long getLineNumber() -
getOriginalLine
-
getDiagnostics
-