I'm building a parser using Antlr 4.8, and the @NotNull annotation is marked as deprecated:
org.antlr.v4.runtime.misc Annotation Type NotNull Deprecated. THIS IS HERE FOR BACKWARD COMPATIBILITY WITH 4.5 ONLY. It will disappear in 4.6+
I have searched but haven't found any documentation on what would replace this annotation. Obviously it hasn't disappeared in 4.6+, but I'd like to avoid issues as I move to new versions of Antlr.
Anyone know if there is a replacement for this annotation?