Skip to content

Commit 05435a9

Browse files
committed
enable additional NullAway checks in errorprone.args
1 parent e13c50b commit 05435a9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

errorprone.args

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313

1414
# Nullness
1515
-Xep:NullAway:ERROR
16+
-XepOpt:NullAway:AcknowledgeRestrictiveAnnotations=true
1617
-XepOpt:NullAway:AnnotatedPackages=it.aboutbits.postgresql
18+
-XepOpt:NullAway:CheckOptionalEmptiness=true
19+
# ExhaustiveOverride is safe only while MissingOverride runs at ERROR, because it assumes that every overriding method carries the Override annotation.
20+
-XepOpt:NullAway:ExhaustiveOverride=true
21+
-XepOpt:NullAway:HandleTestAssertionLibraries=true
1722
-XepOpt:NullAway:JSpecifyMode=true
1823
-Xep:AnnotationPosition:ERROR
1924
-Xep:EqualsMissingNullable:ERROR

0 commit comments

Comments
 (0)