Deprecated
The annotation based approach is useless for lambdas. Write expectations using edu.umd.cs.findbugs.test.matcher.BugInstanceMatcher matchers in test source directory
| Modifier and Type | Method and Description |
|---|---|
| public Confidence | |
| public int | |
| public int | |
| public String | value()
The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the expected warning. |
| confidence | back to summary |
|---|---|
| public Confidence confidence() Want a warning at this priority or higher | |
| num | back to summary |
|---|---|
| public int num() Expect at least this many warnings | |
| rank | back to summary |
|---|---|
| public int rank() Expect a warning at least this scary | |
| value | back to summary |
|---|---|
| public String value() The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the expected warning. Can be a comma-separated list. | |