IntelliJ IDEA 2020.2 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.svg. Click this button to add an annotations package to the list.

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

  • check png. 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.svg.

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

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

  • check png. 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.svg.

Last modified: 23 August 2020