add @Nls annotations to TargetPopupPresentation

GitOrigin-RevId: 2f6090e95641a07d476a28c42cce7be80f147bc5
This commit is contained in:
Daniil Ovchinnikov
2021-01-07 23:08:29 +00:00
committed by intellij-monorepo-bot
parent 209914d452
commit 9688d015df
@@ -3,6 +3,7 @@ package com.intellij.navigation;
import com.intellij.openapi.editor.markup.TextAttributes;
import org.jetbrains.annotations.ApiStatus.Experimental;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -20,7 +21,7 @@ public interface TargetPopupPresentation {
return null;
}
@NotNull String getPresentableText();
@Nls @NotNull String getPresentableText();
/**
* Note that returned instance's {@link TextAttributes#getBackgroundColor()} is used for the whole item background.
@@ -31,7 +32,7 @@ public interface TargetPopupPresentation {
return null;
}
default @Nullable String getLocationText() {
default @Nls @Nullable String getLocationText() {
return null;
}
@@ -42,7 +43,7 @@ public interface TargetPopupPresentation {
return null;
}
default @Nullable String getRightText() {
default @Nls @Nullable String getRightText() {
return null;
}