private @NotNull PyReferenceExpression removeQualifier(@NotNull PyReferenceExpression expr) {
    if (!expr.isQualified()) {
      return expr;
    }
    final PyExpression newExpression = myGenerator.createExpressionFromText(LanguageLevel.forElement(expr), expr.getLastChild().getText());
    return (PyReferenceExpression)expr.replace(newExpression);
  }
private @NotNull PyReferenceExpression removeQualifier(@NotNull PyReferenceExpression expr)