protected String formatLintCategory(JCDiagnostic d, Locale l) { LintCategory lc = d.getLintCategory(); if (lc == null) return ""; return localize(l, "compiler.warn.lintOption", lc.option); }
protected String formatLintCategory(JCDiagnostic d, Locale l) { LintCategory lc = d.getLintCategory(); if (lc == null) return ""; return localize(l, "compiler.warn.lintOption", lc.option); }
public MultilineDiagnostic(JCDiagnostic other, List<JCDiagnostic> subdiagnostics) { super(other.defaultFormatter, other.getType(), other.getLintCategory(), other.flags, other.getDiagnosticSource(), other.position, other.getCode(), other.getArgs()); this.subdiagnostics = subdiagnostics; }
public MultilineDiagnostic(JCDiagnostic other, List<JCDiagnostic> subdiagnostics) { super(other.defaultFormatter, other.getType(), other.getLintCategory(), other.flags, other.getDiagnosticSource(), other.position, other.getCode(), other.getArgs()); this.subdiagnostics = subdiagnostics; }