mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add @Nls annotations to TargetPopupPresentation
GitOrigin-RevId: 2f6090e95641a07d476a28c42cce7be80f147bc5
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user