From 0219825c351d271db7e6aeb212f0180784a6f03c Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Wed, 20 May 2015 15:38:44 +0300 Subject: [PATCH] pass magic constant --- .../src/com/intellij/codeInsight/daemon/LineMarkerInfo.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/lang-api/src/com/intellij/codeInsight/daemon/LineMarkerInfo.java b/platform/lang-api/src/com/intellij/codeInsight/daemon/LineMarkerInfo.java index 7c486b99e4c4..9efd6002ef7f 100644 --- a/platform/lang-api/src/com/intellij/codeInsight/daemon/LineMarkerInfo.java +++ b/platform/lang-api/src/com/intellij/codeInsight/daemon/LineMarkerInfo.java @@ -23,9 +23,11 @@ import com.intellij.openapi.editor.markup.RangeHighlighter; import com.intellij.openapi.editor.markup.SeparatorPlacement; import com.intellij.openapi.project.IndexNotReadyException; import com.intellij.openapi.util.Comparing; +import com.intellij.openapi.util.Pass; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; import com.intellij.util.Function; +import org.intellij.lang.annotations.MagicConstant; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -51,6 +53,7 @@ public class LineMarkerInfo { public LineMarkerInfo(@NotNull T element, int startOffset, Icon icon, + @MagicConstant(valuesFromClass = Pass.class) int updatePass, @Nullable Function tooltipProvider, @Nullable GutterIconNavigationHandler navHandler, @@ -60,6 +63,7 @@ public class LineMarkerInfo { public LineMarkerInfo(@NotNull T element, @NotNull TextRange range, Icon icon, + @MagicConstant(valuesFromClass = Pass.class) int updatePass, @Nullable Function tooltipProvider, @Nullable GutterIconNavigationHandler navHandler, @@ -87,6 +91,7 @@ public class LineMarkerInfo { public LineMarkerInfo(@NotNull T element, int startOffset, Icon icon, + @MagicConstant(valuesFromClass = Pass.class) int updatePass, @Nullable Function tooltipProvider, @Nullable GutterIconNavigationHandler navHandler) {