4 ms·
It's not a full solution, but java has support for nonnullable annotations so under certain situations the compiler will guarantee that you don't need to check
by shanemhansen 11y ago
It's not a full solution, but java has support for nonnullable annotations so under certain situations the compiler will guarantee that you don't need to check for null. Backwards compatibility's a PITA.
http://types.cs.washington.edu/checker-framework/current/checker-framework-manual.html#nullness-checker http://types.cs.washington.edu/checker-framework/current/che...
- wtetzner 11y agoYeah, I've looked into that, but you have to use their special compiler to build. I can't find a way to use it in a Maven build that doesn't require the user to install the checker framework locally.