private static boolean equals(@Nullable QualifiedName qualifiedName, @NotNull String name) {
return qualifiedName != null && name.equals(qualifiedName.toString());
}
@Nullable
private static PyExpression fullResolveLocally(@NotNull PyReferenceExpression referenceExpression) {
<BUG>for (PsiElement element : resolveLocally(referenceExpression)) {
</BUG>
if (element instanceof PyTargetExpression) {
final PyExpression assignedValue = ((PyTargetExpression)element).findAssignedValue();
if (assignedValue instanceof PyReferenceExpression) {

private static boolean equals(@Nullable QualifiedName qualifiedName, @NotNull String name) {
return qualifiedName != null && name.equals(qualifiedName.toString());
}
@Nullable
private static PyExpression fullResolveLocally(@NotNull PyReferenceExpression referenceExpression) {
for (PsiElement element : PyResolveUtil.resolveLocally(referenceExpression)) {
if (element instanceof PyTargetExpression) {
final PyExpression assignedValue = ((PyTargetExpression)element).findAssignedValue();
if (assignedValue instanceof PyReferenceExpression) {
