IntelliJ IDEA makes it possible to analyse the source code for the elements that can become null, and automatically annotate them.
Procedures:
Reference:
Web Resources: