@Nullable
  public static XPathExpression unparenthesize(XPathExpression expression) {
    while (expression instanceof XPathParenthesizedExpression) {
      expression = ((XPathParenthesizedExpression)expression).getExpression();
    }
    return expression;
  }
@Nullable
  public static XPathExpression unparenthesize(XPathExpression expression)