mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
PY-34617 Move getTopLevelAttributes(), findTopLevelAttribute() from PyAstFile
GitOrigin-RevId: 226a7e968851ab0c8730bb79ca90d0ed5dcec364
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cfa28c0d2a
commit
16a7fb4b3e
@@ -39,7 +39,6 @@ public interface PyFile extends PyAstFile, PyElement, PsiFile, PyDocStringOwner,
|
||||
@NotNull
|
||||
List<PyFunction> getTopLevelFunctions();
|
||||
|
||||
@Override
|
||||
List<PyTargetExpression> getTopLevelAttributes();
|
||||
|
||||
@Nullable
|
||||
@@ -48,11 +47,8 @@ public interface PyFile extends PyAstFile, PyElement, PsiFile, PyDocStringOwner,
|
||||
@Nullable
|
||||
PyClass findTopLevelClass(@NonNls @NotNull String name);
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
default PyTargetExpression findTopLevelAttribute(@NotNull String name) {
|
||||
return (PyTargetExpression)PyAstFile.super.findTopLevelAttribute(name);
|
||||
}
|
||||
PyTargetExpression findTopLevelAttribute(@NotNull String name);
|
||||
|
||||
@NotNull
|
||||
List<PyTypeAliasStatement> getTypeAliasStatements();
|
||||
|
||||
Reference in New Issue
Block a user