mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
pull up getReference(PyResolveContext) to PyQualifiedReference interface
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package com.jetbrains.python.psi;
|
||||
|
||||
import com.intellij.lang.ASTNode;
|
||||
import com.intellij.psi.PsiPolyVariantReference;
|
||||
import com.jetbrains.python.psi.resolve.PyResolveContext;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
@@ -27,4 +30,7 @@ public interface PyQualifiedExpression extends PyExpression {
|
||||
*/
|
||||
@Nullable
|
||||
ASTNode getNameElement();
|
||||
|
||||
@NotNull
|
||||
PsiPolyVariantReference getReference(PyResolveContext resolveContext);
|
||||
}
|
||||
|
||||
@@ -30,7 +30,4 @@ public interface PyReferenceExpression extends PyQualifiedExpression, PyReferenc
|
||||
|
||||
@NotNull
|
||||
PsiPolyVariantReference getReference();
|
||||
|
||||
@NotNull
|
||||
PsiPolyVariantReference getReference(PyResolveContext resolveContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user