IntelliJ IDEA 2024.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 dialog.

Item

Description

Nullable annotations

This list shows Nullable annotations defined in the project. Use the following buttons:

  • . Click this button to add an annotations package to the list.

  • . 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 .

NotNull annotations

This list shows NotNull annotations defined in the project. Use the following buttons:

  • . Click this button to add an annotations package to the list.

  • . 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 .

Last modified: 11 February 2024