mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[python] Delete unused method PyiUtil.isInsideStubAnnotation()
GitOrigin-RevId: a22f6bdc3bc78532e5c7c9d8fb07f84b6e76e49b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
358921623c
commit
9d04f67374
@@ -41,10 +41,6 @@ import java.util.List;
|
||||
public final class PyiUtil {
|
||||
private PyiUtil() {}
|
||||
|
||||
public static boolean isInsideStubAnnotation(@NotNull PsiElement element) {
|
||||
return isInsideStub(element) && PsiTreeUtil.getParentOfType(element, PyAnnotation.class, true, ScopeOwner.class) != null;
|
||||
}
|
||||
|
||||
public static boolean isInsideStub(@NotNull PsiElement element) {
|
||||
return PyiUtilCore.isInsideStub(element);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user