/** Asserts that the note, warning, or error was found in a given file. */ @CanIgnoreReturnValue public DiagnosticOnLine inFile(JavaFileObject expectedFile) { return new DiagnosticOnLine(this, expectedFile, findDiagnosticsInFile(expectedFile)); }
/** Asserts that the note, warning, or error was found in a given file. */ @CanIgnoreReturnValue public DiagnosticOnLine inFile(JavaFileObject expectedFile) { return new DiagnosticOnLine(this, expectedFile, findDiagnosticsInFile(expectedFile)); }