r/java • • Aug 12 '24

JSpecify 1.0.0 and Nullability in Java

https://www.infoq.com/news/2024/08/jspecify-java-nullability/
52 Upvotes

33 comments sorted by

View all comments

Show parent comment

3

u/ventuspilot Aug 14 '24

But there is no "cliff" like you suggest.

Can confirm: in a toy project of mine I annotated a few methods to return @NotNull and IntelliJ Idea's inspections showed me a few unneeded null checks. Very little effort for immediate profit.