Lines Matching defs:diags
109 final JCDiagnostic.Factory diags;
144 diags = JCDiagnostic.Factory.instance(context);
1402 chk.basicHandler.report(pos, diags.fragment(Fragments.TryNotApplicableToType(details)));
1497 resultInfo.checkContext.report(tree, diags.fragment(Fragments.ConditionalTargetCantBeVoid));
1575 enclosingContext.report(pos, diags.fragment(Fragments.IncompatibleTypeInConditional(details)));
1768 diags.fragment(Fragments.UnexpectedRetVal));
1774 diags.fragment(Fragments.MissingRetVal(env.info.returnResult.pt)));
2344 diags.fragment(Fragments.CantApplyDiamond1(Fragments.Diamond(tsym), details)));
2448 resultInfo.checkContext.report(that, diags.fragment(msg));
2481 resultInfo.checkContext.report(that, diags.fragment(Fragments.IncompatibleArgTypesInLambda));
2578 resultInfo.checkContext.report(that, diags.fragment(msg));
2642 diags.fragment(Fragments.BadIntersectionTargetForFunctionalExpr(diags.fragment(key, args))));
2704 enclosingContext.report(pos, diags.fragment(Fragments.IncompatibleRetTypeInLambda(details)));
2721 enclosingContext.report(pos, diags.fragment(Fragments.StatExprExpected));
2768 diags.fragment(msg));
2773 checkContext.report(tree, diags.fragment(Fragments.IncompatibleArgTypesInLambda));
2945 JCDiagnostic diag = diags.create(diagKind, log.currentSource(), that,
3095 checkContext.report(tree, diags.fragment(msg));
3221 diags.fragment(Fragments.NoSuitableFunctionalIntfInst(fExpr.targets.head)));