langtools/src/share/classes/com/sun/tools/javac/code/Lint.java
changeset 3661 104c425e96aa
parent 1360 fd574e4926e3
child 5002 12a9e8562200
--- a/langtools/src/share/classes/com/sun/tools/javac/code/Lint.java	Fri Aug 21 11:25:45 2009 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/code/Lint.java	Fri Aug 21 14:58:21 2009 -0700
@@ -193,10 +193,20 @@
         /**
          * Warn about unchecked operations on raw types.
          */
-        RAW("rawtypes");
+        RAW("rawtypes"),
+
+        /**
+         * Warn about Sun proprietary API that may be removed in a future release.
+         */
+        SUNAPI("sunapi", true);
 
         LintCategory(String option) {
+            this(option, false);
+        }
+
+        LintCategory(String option, boolean hidden) {
             this.option = option;
+            this.hidden = hidden;
             map.put(option, this);
         }
 
@@ -205,6 +215,7 @@
         }
 
         public final String option;
+        public final boolean hidden;
     };
 
     /**