Fix PMD warnings
Add @Nullable/@Nonnull and fix warnings
Analyse variables as soon as possible