From 9380e9faa2b676b4315afde70da8ddf32f641473 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Mon, 16 Nov 2015 18:16:07 +0300 Subject: [PATCH] @NotNull, javadoc --- .../vcs/annotate/AnnotationGutterActionProvider.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/AnnotationGutterActionProvider.java b/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/AnnotationGutterActionProvider.java index d3bc6fcda482..a9fa4e022e4f 100644 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/AnnotationGutterActionProvider.java +++ b/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/AnnotationGutterActionProvider.java @@ -20,9 +20,7 @@ import com.intellij.openapi.extensions.ExtensionPointName; import org.jetbrains.annotations.NotNull; /** - * Implement this to add additional custom actions to the popup invoked by right-clicking on the annotation gutter. - * - * @author Kirill Likhodedov + * Implement this to add an additional custom action to the annotation gutter popup (invoked by right-click to an annotation). */ public interface AnnotationGutterActionProvider { @@ -30,10 +28,11 @@ public interface AnnotationGutterActionProvider { /** * Create an action that will be added to the annotation gutter popup. + * * @param annotation annotation which is currently shown on the gutter. * @return new action that can be invoked from the annotation gutter popup. */ @NotNull - AnAction createAction(FileAnnotation annotation); + AnAction createAction(@NotNull FileAnnotation annotation); }