Lines Matching defs:log
62 private final Log log;
94 log = Log.instance(context);
123 deprecationHandler = new MandatoryWarningHandler(log, verboseDeprecated,
125 uncheckedHandler = new MandatoryWarningHandler(log, verboseUnchecked,
127 sunApiHandler = new MandatoryWarningHandler(log, verboseSunApi,
224 log.warning(LintCategory.VARARGS, pos, key, args);
238 log.warning(LintCategory.STATIC, pos, msg, args);
256 log.error(pos, "cant.access", ex.sym, ex.getDetailValue());
269 log.error(pos, "prob.found.req",
275 log.error(pos, "prob.found.req.1", problem, found, req, explanation);
289 log.error(pos, "illegal.start.of.type");
292 log.error(pos, "type.found.req", found, required);
302 log.error(pos, "cant.ref.before.ctor.called", sym);
312 log.error(pos, "already.defined.in.clinit", kindName(sym), sym,
316 log.error(pos, "already.defined", kindName(sym), sym,
326 log.error(pos, "array.and.varargs", sym1, sym2, sym2.location());
445 log.error(pos, "assignment.from.super-bound", found);
449 log.error(pos, "assignment.to.extends-bound", req);
473 log.error(pos,
485 log.error(pos, "invalid.inferred.types", t.tvars, d);
545 log.error(pos, "void.not.allowed.here");
597 log.error(pos, "illegal.generic.type.for.instof");
667 log.error(pos,
684 log.error(tree.clazz.pos(),
689 log.error(tree.clazz.pos(),
695 log.error(tree.clazz.pos(),
714 log.error(tree,
719 log.error(tree,
907 log.error(pos, "enums.must.be.static");
914 log.error(pos, "enums.must.be.static");
937 log.error(pos, "intf.not.allowed.here");
941 log.error(pos,
1074 log.error(arg, "not.within.bounds", incompatibleArg, forms.head);
1097 log.error(tree.pos(), "improperly.formed.type.inner.raw.param");
1123 log.error(tree.pos(), "improperly.formed.type.param.missing");
1133 log.error(tree.pos(), "cant.select.static.class.from.param.type");
1170 log.warning(LintCategory.RAW,
1394 log.error(TreeInfo.diagnosticPositionFor(m, tree), "override.static",
1404 log.error(TreeInfo.diagnosticPositionFor(m, tree), "override.meth",
1418 log.error(TreeInfo.diagnosticPositionFor(m, tree), "override.weaker.access",
1446 log.error(TreeInfo.diagnosticPositionFor(m, tree),
1465 log.error(TreeInfo.diagnosticPositionFor(m, tree),
1482 log.warning(TreeInfo.diagnosticPositionFor(m, tree),
1491 log.warning(TreeInfo.diagnosticPositionFor(m, tree), "override.bridge",
1572 log.error(pos, "concrete.inheritance.conflict",
1675 log.error(pos, "types.incompatible.diff.ret",
1682 log.error(pos,
1735 log.error(tree.pos(), "enum.no.finalize");
1787 log.error(pos, "does.not.override.abstract",
1848 DiagnosticSource prevSource = log.currentSource();
1850 log.useSource(classEnv.toplevel.sourcefile);
1854 log.useSource(prevSource.getFile());
1959 log.error(pos, "cyclic.inheritance", t);
2011 log.error(pos, "cyclic.inheritance", c);
2122 log.error(pos,
2150 log.error(pos,
2187 log.warning(pos, "synthetic.name.conflict", sym, sym.location());
2190 log.error(pos, "synthetic.name.conflict", sym, sym.location());
2219 log.error(pos, "cant.inherit.diff.arg",
2234 log.error(pos, "repeated.interface");
2281 log.error(pos, "invalid.annotation.member.type");
2299 log.error(pos, "intf.annotation.member.clash", e.sym, sup);
2318 log.error(a.pos(), "annotation.type.not.applicable");
2322 log.error(a.pos(), "method.does.not.override.superclass");
2415 log.error(assign.lhs.pos(), "duplicate.annotation.member.value",
2430 log.error(a.pos(), key, a.type, missingDefaults);
2449 log.error(elem.pos(), "repeated.annotation.target");
2460 log.warning(LintCategory.DEP_ANN,
2485 log.strictWarning(pos, "sun.proprietary", s);
2517 log.error(pos, "cyclic.annotation.element");
2585 log.error(TreeInfo.diagnosticPositionFor(ctor, tree),
2615 log.error(pos,
2638 log.warning(LintCategory.DIVZERO, pos, "div.zero");
2648 log.warning(LintCategory.EMPTY, tree.thenpart.pos(), "empty.if");
2686 log.error(pos, "name.clash.same.erasure", sym1, sym2);
2729 log.error(pos, "already.defined.static.single.import", what);
2731 log.error(pos, "already.defined.single.import", what);
2734 log.error(pos, "already.defined.this.unit", what);
2746 log.error(tree.pos(), "import.requires.canonical",