...
This noncompliant code example shows an example where ...
| Code Block | ||
|---|---|---|
| ||
|
Compliant Solution
In this compliant solution, ...
| Code Block | ||
|---|---|---|
| ||
| ||
Risk Assessment
If object-based annotations are not respected then ...
Rule | Severity | Likelihood |
|---|
Detectable | Repairable | Priority | Level |
|---|---|---|---|
OBJ12-J | Low | Probable |
No | No |
P2 | L3 |
Automated Detection
TBD
Bibliography
| [FindBugs 2008] | JCIP: Fields of immutable classes should be final NP: Method call passes null to a nonnull parameter |
NP: Method may return null, but is declared @NonNull |
NP: Parameter must be nonnull but is marked as nullable |
...