mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
Remove redundant interfaces from the PyFunction declaration
PsiNameIdentifierOwner extends PsiNamedElement, and PyCallable extends PyTypedElement. GitOrigin-RevId: ef395e6125077c7853e3b5a9e43f7f2b9ff2542e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
566a98e5ea
commit
97f36e10de
@@ -18,9 +18,9 @@ import java.util.List;
|
||||
/**
|
||||
* Function declaration in source (the {@code def} and everything within).
|
||||
*/
|
||||
public interface PyFunction extends PsiNamedElement, StubBasedPsiElement<PyFunctionStub>, PsiNameIdentifierOwner, PyCompoundStatement, PyCallable,
|
||||
PyDocStringOwner, ScopeOwner, PyDecoratable, PyTypedElement, PyStatementListContainer,
|
||||
PyPossibleClassMember, PyTypeCommentOwner, PyAnnotationOwner {
|
||||
public interface PyFunction extends StubBasedPsiElement<PyFunctionStub>, PsiNameIdentifierOwner, PyCompoundStatement,
|
||||
PyDecoratable, PyCallable, PyStatementListContainer, PyPossibleClassMember,
|
||||
ScopeOwner, PyDocStringOwner, PyTypeCommentOwner, PyAnnotationOwner {
|
||||
|
||||
PyFunction[] EMPTY_ARRAY = new PyFunction[0];
|
||||
ArrayFactory<PyFunction> ARRAY_FACTORY = count -> count == 0 ? EMPTY_ARRAY : new PyFunction[count];
|
||||
|
||||
Reference in New Issue
Block a user