Preferences -> Editor -> Inspections -> J...
# intellij
d
Preferences -> Editor -> Inspections -> Java -> Probable bugs -> @NotNull/@Nullable problems and then click “Configure annotations” on the pane to select your default annotations