@Target(value={TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE})
@Retention(value=CLASS)
public @interface SuppressFBWarnings
SuppressWarnings
is not suitable because it is only available in the source
file. Findbugs looks for any annotation called "SuppressWarnings", ignoring the package
name.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
Findbugs error(s) to be suppressed.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
justification |