Adds an annotation, for example @Nullable or @NotNull, to the selected element. The annotation will be stored in a separate annotations.xml file.

This intention is available in the editor when the Use external annotations option is enabled under Settings | Editor | Code Style | Java | Code Generation.