diff --git a/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/before.java.template b/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/before.java.template index 7aa758afd877..7f5db076853d 100644 --- a/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/before.java.template +++ b/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/before.java.template @@ -1,5 +1,5 @@ class A { - Object getObject() { + Object getObject() { //do smth return null; } diff --git a/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/description.html b/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/description.html index bcf09719b08b..0f1329492016 100644 --- a/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/description.html +++ b/java/java-impl/resources/intentionDescriptions/AnnotateIntentionAction/description.html @@ -1,4 +1,8 @@ -Adds an annotation, for example @Nullable/@NotNull, to the selected element. If the code belongs to a library, -the annotation will be stored in a separate file. +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. +