mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[python] Mark PyType.getName() as @NlsSafe
GitOrigin-RevId: e458d1609f94b16433a723f10c6036f4575f2aea
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bff66ed8e4
commit
1765651746
@@ -2,6 +2,7 @@
|
||||
package com.jetbrains.python.psi.types;
|
||||
|
||||
import com.intellij.openapi.util.Key;
|
||||
import com.intellij.openapi.util.NlsSafe;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.util.ProcessingContext;
|
||||
import com.jetbrains.python.psi.AccessDirection;
|
||||
@@ -64,8 +65,7 @@ public interface PyType {
|
||||
* TODO rename it to something like getPresentableName(), because it's not clear that these names are actually visible to end-user
|
||||
* @return name of the type
|
||||
*/
|
||||
@Nullable
|
||||
String getName();
|
||||
@Nullable @NlsSafe String getName();
|
||||
|
||||
/**
|
||||
* @return true if the type is a known built-in type.
|
||||
|
||||
Reference in New Issue
Block a user