Searched refs:LintCategory (Results 1 - 17 of 17) sorted by relevance

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DWarner.java28 import com.sun.tools.javac.code.Lint.LintCategory;
46 private EnumSet<LintCategory> nonSilentLintSet = EnumSet.noneOf(LintCategory.class);
47 private EnumSet<LintCategory> silentLintSet = EnumSet.noneOf(LintCategory.class);
53 public void warn(LintCategory lint) {
57 public void silentWarn(LintCategory lint) {
65 public boolean hasSilentLint(LintCategory lint) {
69 public boolean hasNonSilentLint(LintCategory lint) {
73 public boolean hasLint(LintCategory lin
[all...]
H A DMandatoryWarningHandler.java32 import com.sun.tools.javac.code.Lint.LintCategory;
113 LintCategory lc) {
242 * A LintCategory to be included in point-of-use diagnostics to indicate
245 private final LintCategory lintCategory;
H A DJCDiagnostic.java37 import com.sun.tools.javac.code.Lint.LintCategory;
120 LintCategory lc,
133 LintCategory lc, String key, Object... args) {
159 LintCategory lc, DiagnosticSource source, DiagnosticPosition pos, String key, Object... args) {
229 DiagnosticType kind, LintCategory lc, Set<DiagnosticFlag> flags, DiagnosticSource source, DiagnosticPosition pos, String key, Object... args) {
353 private final LintCategory lintCategory;
367 LintCategory lc,
432 public LintCategory getLintCategory() {
H A DAbstractLog.java32 import com.sun.tools.javac.code.Lint.LintCategory;
149 public void warning(LintCategory lc, String key, Object ... args) {
170 public void warning(LintCategory lc, DiagnosticPosition pos, String key, Object ... args) {
199 public void mandatoryWarning(LintCategory lc, DiagnosticPosition pos, String key, Object ... args) {
H A DAbstractDiagnosticFormatter.java41 import com.sun.tools.javac.code.Lint.LintCategory;
290 LintCategory lc = d.getLintCategory();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DLint.java86 l.values.remove(LintCategory.DEPRECATION);
87 l.suppressedValues.add(LintCategory.DEPRECATION);
95 private final EnumSet<LintCategory> values;
96 private final EnumSet<LintCategory> suppressedValues;
98 private static Map<String, LintCategory> map = new HashMap<String,LintCategory>();
104 values = EnumSet.noneOf(LintCategory.class);
105 for (Map.Entry<String, LintCategory> e: map.entrySet()) {
110 suppressedValues = EnumSet.noneOf(LintCategory.class);
130 public enum LintCategory { enum in class:Lint
229 LintCategory(String option) { method in class:Lint.LintCategory
233 LintCategory(String option, boolean hidden) { method in class:Lint.LintCategory
[all...]
H A DTypes.java36 import com.sun.tools.javac.code.Lint.LintCategory;
338 warn.silentWarn(LintCategory.UNCHECKED);
340 warn.warn(LintCategory.UNCHECKED);
363 warn.warn(LintCategory.VARARGS);
1008 warnStack.head.warn(LintCategory.UNCHECKED);
1024 if (warnStack.head.hasLint(LintCategory.UNCHECKED))
1025 oldWarner.warn(LintCategory.UNCHECKED);
1040 warnStack.head.warn(LintCategory.UNCHECKED);
1046 warnStack.head.warn(LintCategory.UNCHECKED);
1080 warnStack.head.warn(LintCategory
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DPaths.java164 warn = lint.isEnabled(Lint.LintCategory.PATH);
269 log.warning(Lint.LintCategory.PATH,
305 log.warning(Lint.LintCategory.PATH,
327 log.warning(Lint.LintCategory.PATH,
333 log.warning(Lint.LintCategory.PATH,
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DRecognizedOptions.java635 for (Lint.LintCategory c : Lint.LintCategory.values())
637 for (Lint.LintCategory c : Lint.LintCategory.values())
H A DJavaCompiler.java54 import com.sun.tools.javac.code.Lint.LintCategory;
380 if (options.isUnset(XLINT_CUSTOM, "-" + LintCategory.OPTIONS.option)) {
383 log.warning(LintCategory.OPTIONS, "source.no.bootclasspath", source.name);
815 options.put(XLINT_CUSTOM + "-" + LintCategory.OPTIONS.option, "true");
816 options.remove(XLINT_CUSTOM + LintCategory.OPTIONS.option);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DCheck.java40 import com.sun.tools.javac.code.Lint.LintCategory;
118 boolean verboseDeprecated = lint.isEnabled(LintCategory.DEPRECATION);
119 boolean verboseUnchecked = lint.isEnabled(LintCategory.UNCHECKED);
120 boolean verboseSunApi = lint.isEnabled(LintCategory.SUNAPI);
124 enforceMandatoryWarnings, "deprecated", LintCategory.DEPRECATION);
126 enforceMandatoryWarnings, "unchecked", LintCategory.UNCHECKED);
205 if (!lint.isSuppressed(LintCategory.DEPRECATION))
214 if (!lint.isSuppressed(LintCategory.UNCHECKED))
223 if (lint.isEnabled(LintCategory.VARARGS) && allowSimplifiedVarargs)
224 log.warning(LintCategory
[all...]
H A DFlow.java974 lint.isEnabled(Lint.LintCategory.FALLTHROUGH) &&
976 log.warning(Lint.LintCategory.FALLTHROUGH,
1065 lint.isEnabled(Lint.LintCategory.TRY)) {
1068 log.warning(Lint.LintCategory.TRY, resVar.pos(),
1120 lint.isEnabled(Lint.LintCategory.FINALLY)) {
1121 log.warning(Lint.LintCategory.FINALLY,
1412 && lint.isEnabled(Lint.LintCategory.CAST)
1415 log.warning(Lint.LintCategory.CAST,
H A DAttr.java41 import com.sun.tools.javac.code.Lint.LintCategory;
1172 env.info.lint.isEnabled(LintCategory.TRY)) {
1173 log.warning(LintCategory.TRY, pos, "try.resource.throws.interrupted.exc", resource);
2316 env.info.lint.isEnabled(LintCategory.TRY)) {
2317 log.warning(LintCategory.TRY, tree, "try.explicit.close.call");
2753 boolean warned = noteWarner.hasNonSilentLint(LintCategory.UNCHECKED);
2778 warned |= warn.hasNonSilentLint(LintCategory.UNCHECKED);
2788 warned |= warn.hasNonSilentLint(LintCategory.UNCHECKED);
3272 if (env.info.lint.isEnabled(LintCategory.SERIAL) &&
3298 log.warning(LintCategory
[all...]
H A DResolve.java823 !noteWarner.hasLint(Lint.LintCategory.UNCHECKED);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/processing/
H A DJavacFiler.java56 import static com.sun.tools.javac.code.Lint.LintCategory.PROCESSING;
H A DJavacProcessingEnvironment.java86 import static com.sun.tools.javac.code.Lint.LintCategory.PROCESSING;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java48 import com.sun.tools.javac.code.Lint.LintCategory;
293 lintClassfile = Lint.instance(context).isEnabled(LintCategory.CLASSFILE);
907 log.warning(LintCategory.CLASSFILE, (DiagnosticPosition) null, "future.attr",

Completed in 116 milliseconds