@Retention(CLASS)
public @interface ExpectWarning
Modifier and Type | Required Element | Description |
---|---|---|
java.lang.String |
value |
The value indicates the bug code (e.g., NP) or bug pattern (e.g.,
IL_INFINITE_LOOP) of the expected warning.
|
Modifier and Type | Optional Element | Description |
---|---|---|
Confidence |
confidence |
Want a warning at this priority or higher
|
int |
num |
Expect at least this many warnings
|
int |
rank |
Expect a warning at least this scary
|
java.lang.String value
Confidence confidence
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.