IntelliJ IDEA 2021.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.

Item

Description

Nullable annotations

This 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 annotations

This 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: 02 August 2022