@Nullable
  public static QualifiedName asQualifiedName(@Nullable PyAstExpression expr) {
    return expr instanceof PyAstQualifiedExpression ? ((PyAstQualifiedExpression)expr).asQualifiedName() : null;
  }
@Nullable
  public static QualifiedName asQualifiedName(@Nullable PyAstExpression expr)