PY-81981 Deprecate PyPsiFacade#getLanguageLevel

GitOrigin-RevId: edb0ec18aaaa55032e9e5b8f9ff713f07e22da04
This commit is contained in:
Petr
2025-07-22 19:28:39 +00:00
committed by intellij-monorepo-bot
parent 572dffa91e
commit 43024c4c88
3 changed files with 18 additions and 17 deletions
@@ -48,5 +48,9 @@ public abstract class PyPsiFacade {
public abstract @Nullable String findShortestImportableName(@NotNull VirtualFile targetFile, @NotNull PsiElement anchor);
/**
* @deprecated Use {@link LanguageLevel#forElement(PsiElement)}
*/
@Deprecated(forRemoval = true)
public abstract @NotNull LanguageLevel getLanguageLevel(@NotNull PsiElement element);
}