diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java b/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java index f2039a5a783e..d14d61b3e567 100644 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java +++ b/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java @@ -58,13 +58,15 @@ public interface FileAnnotation { LineAnnotationAspect[] getAspects(); /** - * The tooltip that is shown over annotation. Typically this - * is a comment associated with commit that has added or modified - * the line. + *

The tooltip that is shown over annotation. + * Typically this is a comment associated with commit that has added or modified the line.

+ * + *

If the method returns null, the tooltip is not shown for this line.

* * @param lineNumber the line number * @return the tooltip text */ + @Nullable String getToolTip(int lineNumber); /**