@Retention(value=CLASS) public @interface SuppressFBWarnings
Spotbugs checks annotations by name, anything ending with "SuppressFBWarnings" or "SuppressWarnings" will be checked for suppressions. We cannot use SuppressWarnings simply because it is not retained in bytecode, which is what SpotBugs processes.
Modifier and Type | Optional Element and Description |
---|---|
String |
justification
Optional documentation of the reason why the warning is suppressed
|
String[] |
value
The set of FindBugs warnings that are to be suppressed in annotated element.
|
public abstract String[] value
public abstract String justification
Copyright © 1996–2022 Geotools. All rights reserved.