java - How to use NonNullByDefault on a package - Stack Overflow
If you simply want to get rid of the warning and ignore this feature because you're not making use of it, you can simply disable it in the Eclipse preferences:
Window > Preferences > Java > Compiler > Errors/Warnings > Null analysis > Missing '@NonNullByDefault' annotation on package = [Ignore]
Read full article from java - How to use NonNullByDefault on a package - Stack Overflow
No comments:
Post a Comment