Lines Matching defs:diags
67 private final JCDiagnostic.Factory diags;
99 diags = JCDiagnostic.Factory.instance(context);
443 return typeError(pos, diags.fragment("possible.loss.of.precision"), found, req);
452 return typeError(pos, diags.fragment(errKey), found, req);
480 diags.fragment("incompatible.types" + (d!=null ? ".1" : ""), d),
505 diags.fragment("inconvertible.types"),
559 diags.fragment("type.req.class"),
561 ? diags.fragment("type.parameter", t)
579 diags.fragment("type.req.exact"),
594 diags.fragment("type.req.class.array"),
619 diags.fragment("type.req.ref"),
653 diags.fragment("type.req.ref"),
686 t, diags.fragment("diamond.and.anon.class", t));
691 t, diags.fragment("diamond.non.generic", t));
697 t, diags.fragment("diamond.and.explicit.params", t));
717 diags.fragment("varargs.trustme.on.virtual.varargs", m));
722 diags.fragment("varargs.trustme.on.non.varargs.meth", m));
729 diags.fragment("varargs.trustme.on.reifiable.varargs", varargElemType));
1326 return diags.fragment(key, m, m.location(), other, other.location());
1342 return diags.fragment(key, m, m.location(), other, other.location());
1358 return diags.fragment(key, m, m.location(), other, other.location());
2778 Check.this.warnUnchecked(pos(), "prob.found.req", diags.fragment(uncheckedKey), found, expected);