IDEA keeps importing com.sun.istack.internal.Nullable when I auto-generate nullable methods. This causes build failures when I try to build my code on some JDKs that don't support this package.
I would like to use @Nullable annotations, but I am confused by the options and unsure of best practices. Of the various options, which @Nullable annotation should I use such that my project will build reliably using Maven, and how do I configure IDEA to use these annotations?