@Target({TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE,PACKAGE})
@Retention(CLASS)
public @interface SuppressWarnings
Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
justification |
|
java.lang.String[] |
value |
The set of warnings that are to be suppressed by the compiler in the
annotated element.
|
java.lang.String[] value
Compiler vendors should document the warning names they support in conjunction with this annotation type. They are encouraged to cooperate to ensure that the same names work across multiple compilers.
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.