180 * Warn about issues regarding annotation processing. |
185 * Warn about issues regarding annotation processing. |
181 */ |
186 */ |
182 PROCESSING("processing"), |
187 PROCESSING("processing"), |
183 |
188 |
184 /** |
189 /** |
|
190 * Warn about unchecked operations on raw types. |
|
191 */ |
|
192 RAW("rawtypes"), |
|
193 |
|
194 /** |
185 * Warn about Serializable classes that do not provide a serial version ID. |
195 * Warn about Serializable classes that do not provide a serial version ID. |
186 */ |
196 */ |
187 SERIAL("serial"), |
197 SERIAL("serial"), |
188 |
198 |
189 /** |
199 /** |
|
200 * Warn about issues relating to use of statics |
|
201 */ |
|
202 STATIC("static"), |
|
203 |
|
204 /** |
|
205 * Warn about proprietary API that may be removed in a future release. |
|
206 */ |
|
207 SUNAPI("sunapi", true), |
|
208 |
|
209 /** |
|
210 * Warn about issues relating to use of try blocks (i.e. try-with-resources) |
|
211 */ |
|
212 TRY("try"), |
|
213 |
|
214 /** |
190 * Warn about unchecked operations on raw types. |
215 * Warn about unchecked operations on raw types. |
191 */ |
216 */ |
192 UNCHECKED("unchecked"), |
217 UNCHECKED("unchecked"), |
193 |
218 |
194 /** |
219 /** |
195 * Warn about unchecked operations on raw types. |
|
196 */ |
|
197 RAW("rawtypes"), |
|
198 |
|
199 /** |
|
200 * Warn about proprietary API that may be removed in a future release. |
|
201 */ |
|
202 SUNAPI("sunapi", true), |
|
203 |
|
204 /** |
|
205 * Warn about issues relating to use of statics |
|
206 */ |
|
207 STATIC("static"), |
|
208 |
|
209 /** |
|
210 * Warn about potentially unsafe vararg methods |
220 * Warn about potentially unsafe vararg methods |
211 */ |
221 */ |
212 VARARGS("varargs"), |
222 VARARGS("varargs"); |
213 |
|
214 /** |
|
215 * Warn about issues relating to use of try blocks (i.e. try-with-resources) |
|
216 */ |
|
217 TRY("try"); |
|
218 |
223 |
219 LintCategory(String option) { |
224 LintCategory(String option) { |
220 this(option, false); |
225 this(option, false); |
221 } |
226 } |
222 |
227 |