Lines Matching defs:lint

93     // The set of lint options currently in effect. It is initialized
96 private Lint lint;
126 lint = Lint.instance(context);
142 boolean verboseDeprecated = lint.isEnabled(LintCategory.DEPRECATION);
143 boolean verboseRemoval = lint.isEnabled(LintCategory.REMOVAL);
144 boolean verboseUnchecked = lint.isEnabled(LintCategory.UNCHECKED);
204 /** A handler for deferred lint warnings.
213 Lint prev = lint;
214 lint = newLint;
230 if (!lint.isSuppressed(LintCategory.REMOVAL)) {
237 } else if (!lint.isSuppressed(LintCategory.DEPRECATION)) {
251 if (!lint.isSuppressed(LintCategory.UNCHECKED))
259 if (lint.isEnabled(LintCategory.VARARGS) && allowSimplifiedVarargs)
264 if (lint.isEnabled(LintCategory.STATIC))
272 if (lint.isEnabled(LintCategory.DIVZERO))
622 if (lint.isEnabled(LintCategory.CAST))
1463 if (lint.isEnabled(LintCategory.RAW) &&
1792 && lint.isEnabled(LintCategory.OVERRIDES)) {
1807 Lint prevLint = setLint(lint.augment(m));
2094 if (lint.isEnabled(LintCategory.OVERRIDES)) {
2114 if (lint.isEnabled(LintCategory.MODULE)) {
2616 lint.isEnabled(LintCategory.OVERLOADS) &&
2664 (lint.isEnabled(LintCategory.SERIAL) &&
2665 !lint.isSuppressed(LintCategory.SERIAL) &&
3273 if (lint.isEnabled(LintCategory.DEP_ANN) && s.isDeprecatableViaAnnotation() &&
3281 if (lint.isEnabled(LintCategory.DEPRECATION) && !s.isDeprecatableViaAnnotation()) {
3442 lint.isEnabled(LintCategory.EMPTY))
3575 if (lint.isEnabled(Lint.LintCategory.AUXILIARYCLASS) &&
3597 public void warn(LintCategory lint) {
3599 super.warn(lint);
3601 switch (lint) {
3614 throw new AssertionError("Unexpected lint: " + lint);
3751 Lint lint = env.info.lint;
3761 Lint prevLint = lint;
3763 lint = lint.augment(tree.sym);
3764 if (lint.isEnabled(LintCategory.EXPORTS)) {
3768 lint = prevLint;
3775 Lint prevLint = lint;
3777 lint = lint.augment(tree.sym);
3778 if (lint.isEnabled(LintCategory.EXPORTS)) {
3783 lint = prevLint;
3794 Lint prevLint = lint;
3796 lint = lint.augment(tree.sym);
3797 if (lint.isEnabled(LintCategory.EXPORTS)) {
3810 lint = prevLint;
3913 if (lint.isEnabled(LintCategory.MODULE))
3923 if (lint.isEnabled(LintCategory.OPENS))
3932 if (rd.isTransitive() && lint.isEnabled(LintCategory.REQUIRES_TRANSITIVE_AUTOMATIC)) {
3934 } else if (lint.isEnabled(LintCategory.REQUIRES_AUTOMATIC)) {