Skip to content

Commit

Permalink
Update README with references including links to Spring framework Not…
Browse files Browse the repository at this point in the history
…NullApi
  • Loading branch information
rbygrave committed Oct 19, 2021
1 parent 11052ca commit 62f78cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ and are then honored by most tools - IntelliJ etc.

Note that these annotations are RetentionType CLASS and expected to be used at compile time
only via static analysis and can not be read or used at runtime.

The `jsr-305` annotations are not required to be a transitive dependency for the tooling
like IntelliJ to recognise and use.

# References

- https://blog.tlinkowski.pl/2019/when-to-use-jsr-305-for-nullability-in-java/
- https://github.com/spring-projects/spring-framework/blob/main/spring-core/src/main/java/org/springframework/lang/NonNullApi.java

0 comments on commit 62f78cb

Please sign in to comment.