Like described in set findbugs NotNull as default for all classes under a package I annotated my packages so all class fields are automatically marked as @NonNull
.
Now are all the @Autowired
not nullable, too, which leads to many findbugs errors that these fields are not initiallized. Is there a config to tell findbugs that all fields should be @NonNull
except @Autowired
fields?
Aucun commentaire:
Enregistrer un commentaire