IntelliJ IDEA 2021.1 Help

Nullable/NotNull configuration dialog

This dialog shows the lists of @Nullable and @NotNull annotations. To show this dialog, click the button Configure annotations... in the Compiler page of the Settings/Preferences dialog.

ItemDescription
Nullable annotationsThis list shows Nullable annotations defined in project. Use the following buttons:
  • Icons general add. Click this button to add an annotations package to the list.

  • Icons general remove. Click this button to remove annotations from the list. This button becomes available for the custom annotations only.

  • Check. Click this button to select the annotations package used for code generation. The selected annotation is marked with the right arrow Icons vcs arrow right.

NotNull annotationsThis list shows NotNull annotations defined in the project. Use the following buttons:
  • Icons general add. Click this button to add an annotations package to the list.

  • Icons general remove. Click this button to remove annotations from the list. This button becomes available for the custom annotations only.

  • Check. Click this button to select the annotations package used for code generation. The selected annotation is marked with the right arrow Icons vcs arrow right.

Last modified: 08 March 2021