TJ-Bot
TJ-Bot copied to clipboard
Add @MethodsReturnNonnullByDefault
Closes #548. Similar to #541, this adds an annotation @MethodsReturnNonnullByDefault to all packages.
Effectively making @Nonnull completely obsolete in our code base - hence also removing it everywhere.
The annotation is self-written (idea snacked from Minecraft who has this annotation as well - credits go to Quinteger for raising awareness).
The PR will of course generate a lot of (simple) merge conflicts - again. But I think people will like it 👍
Everyone say goodbye to @Nonnull 👋 
"database" subproject also has those annotations. Maybe create a separate subproject that will hold that annotation? This way "application" and "database" won't have to depend on each other.
auto merging this on the weekend if no approves come in sooner 👍







