Commit d06cd93
authored
add SUGGEST_NULLABLE_ANNOTATIONS inspection
add ConstantConditions.SUGGEST_NULLABLE_ANNOTATIONS to inspections.
This inspection flags code that mixes `@Nullable` values and
non-`@Nullable` params. Such code is likely erroneous and a common
place for NPEs to hide.1 parent b5d3e81 commit d06cd93
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
0 commit comments