-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Move off JSR-305 annotations #1633
Copy link
Copy link
Closed
Labels
status: next major versionThe issue will be considered for the next major versionThe issue will be considered for the next major versiontype: taskA task that needs to be completedA task that needs to be completed
Milestone
Metadata
Metadata
Assignees
Labels
status: next major versionThe issue will be considered for the next major versionThe issue will be considered for the next major versiontype: taskA task that needs to be completedA task that needs to be completed
Type
Fields
Give feedbackNo fields configured for issues without a type.
See spotbugs/spotbugs#421
The
JSR-305from findbugs is not longer supported, has split package problems for Java 9+ and may represent an Oracle license violation.We currently use
javaxannotations forNullableandNonnullwe need to eliminate the use of these annotations directly but still support them via annotation mapping.The following screenshot shows the currently supported annotations by IntelliJ out of the box:
Google tools are moving to the Checker Framework so maybe we should use that since it is supported out of the box by IntelliJ
The other option is our own set of annotations, however that would require end users to configure IntelliJ (and any other tooling) explicitly.