Lines Matching defs:diags

102     JCDiagnostic.Factory diags;
130 diags = JCDiagnostic.Factory.instance(context);
143 inapplicableMethodException = new InapplicableMethodException(diags);
218 return; //skip diags for Object constructor resolution
221 return; //skip spurious diags for predef symbols (i.e. operators)
246 JCDiagnostic main = diags.note(log.currentSource(), dpos, key, name,
257 subDiag = diags.fragment(Fragments.PartialInstSig(inst));
264 return diags.fragment(key, pos, sym, subDiag);
268 return diags.fragment(Fragments.NotApplicableMethodFound(pos, sym, subDiag));
819 throw ex.setMessage(diags.create(DiagnosticType.FRAGMENT, log.currentSource(), pos, key, args));
1366 JCDiagnostic.Factory diags;
1368 InapplicableMethodException(JCDiagnostic.Factory diags) {
1370 this.diags = diags;
1376 return setMessage(key != null ? diags.fragment(key) : null);
1379 return setMessage(key != null ? diags.fragment(key, args) : null);
1456 diags.fragment(Fragments.FatalErrCantLocateField(name)));
2696 diags.fragment(Fragments.FatalErrCantLocateMeth(name)));
2748 diags.fragment(Fragments.FatalErrCantLocateCtor(site)));
3810 return diags.create(dkind, log.currentSource(), pos,
3821 return diags.create(dkind, log.currentSource(), pos,
3827 return diags.create(dkind, log.currentSource(), pos,
3851 return diags.fragment(Fragments.Location1(kindName(location),
3855 return diags.fragment(Fragments.Location(typeKindName(site),
3904 MethodResolutionDiagHelper.rewrite(diags, pos, log.currentSource(), dkind, c.snd);
3910 return diags.create(dkind, log.currentSource(), pos,
3964 JCDiagnostic err = diags.create(dkind,
4022 diags.fragment(Fragments.InapplicableMethod(Kinds.kindName(sym),
4060 MethodResolutionDiagHelper.rewrite(diags, pos, log.currentSource(), dkind, details);
4068 return diags.create(dkind, log.currentSource(), pos, key,
4112 return diags.create(dkind, log.currentSource(),
4117 return diags.create(dkind, log.currentSource(),
4122 return diags.create(dkind, log.currentSource(),
4128 return diags.create(dkind, log.currentSource(),
4134 return diags.create(dkind, log.currentSource(),
4177 return diags.create(dkind, log.currentSource(),
4195 return diags.create(dkind, log.currentSource(),
4200 return diags.create(dkind, log.currentSource(),
4211 return diags.fragment(Fragments.NotDefAccessDoesNotRead(env.toplevel.modle,
4215 return diags.fragment(Fragments.NotDefAccessDoesNotReadFromUnnamed(sym,
4219 return diags.fragment(Fragments.NotDefAccessDoesNotReadUnnamed(sym,
4226 return diags.fragment(Fragments.NotDefAccessNotExportedToModule(sym,
4230 return diags.fragment(Fragments.NotDefAccessNotExportedToModuleFromUnnamed(sym,
4236 return diags.fragment(Fragments.NotDefAccessNotExported(sym,
4239 return diags.fragment(Fragments.NotDefAccessNotExportedFromUnnamed(sym,
4267 return diags.create(dkind, log.currentSource(), pos,
4318 return diags.create(dkind, log.currentSource(),
4401 diags.create(dkind, log.currentSource(), pos, key, Kinds.kindName(sym), sym);
4417 return diags.create(dkind, log.currentSource(), pos,
4440 JCDiagnostic rewriteDiagnostic(JCDiagnostic.Factory diags,
4496 public JCDiagnostic rewriteDiagnostic(JCDiagnostic.Factory diags,
4504 return diags.create(preferredKind, preferredSource, pos,
4561 static JCDiagnostic rewrite(JCDiagnostic.Factory diags, DiagnosticPosition pos, DiagnosticSource source,
4566 _entry.getValue().rewriteDiagnostic(diags, pos, source, dkind, d);