Lines Matching refs:JCDiagnostic
276 JCDiagnostic.DiagnosticPosition pos() {
277 return new JCDiagnostic.SimpleDiagnosticPosition(pos);
316 protected java.io.PrintWriter getWriterForDiagnosticType(JCDiagnostic.DiagnosticType dt) {
350 JCDiagnostic.Factory diags = JCDiagnostic.Factory.instance(ctx);
352 JCDiagnostic d = diags.error(log.currentSource(),
356 JCDiagnostic sub = diags.fragment(errorKind.key(), "Hello!");
358 sub = new JCDiagnostic.MultilineDiagnostic(sub, List.of(sub));
359 List<JCDiagnostic> subdiags = multiKind.isDouble() ?
362 d = new JCDiagnostic.MultilineDiagnostic(d, subdiags);