Skip to content

Move off JSR-305 annotations  #1633

@graemerocher

Description

@graemerocher

See spotbugs/spotbugs#421

The JSR-305 from findbugs is not longer supported, has split package problems for Java 9+ and may represent an Oracle license violation.

We currently use javax annotations for Nullable and Nonnull we 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:

Screenshot 2019-05-07 at 08 30 25

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.

Metadata

Metadata

Assignees

Labels

status: next major versionThe issue will be considered for the next major versiontype: taskA task that needs to be completed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions