@NotNull
  @Override
  protected List<RatedResolveResult> resolveInner() {
    if (myElement instanceof PyBinaryExpression expr) {
      final String name = expr.getReferencedName();
      if (PyNames.CONTAINS.equals(name)) {
        return resolveMember(expr.getRightExpression(), name);
      }
      else {
        return resolveLeftAndRightOperators(expr, name);
      }
    }
    else if (myElement instanceof PySubscriptionExpression expr) {
      return resolveMember(expr.getOperand(), expr.getReferencedName());
    }
    else if (myElement instanceof PyPrefixExpression expr) {
      return resolveMember(expr.getOperand(), expr.getReferencedName());
    }
    return Collections.emptyList();
  }
@NotNull
  @Override
  protected List<RatedResolveResult> resolveInner()