Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.25.0
-
None
Description
jsr305 does not support type annotations, so it can't be used like List<@Nullable String>, and it results in duplicate @Nullable annotations on the classpath (checkerframework and jsr305)
The solution is to use checkerframework for nullability, and errorprone annotations for dataflow-like checks (e.g. @CheckReturnValue)