// Create the new query, merging in the analysis of the method
SelectFromWhere<U> toReturn = (SelectFromWhere<U>)sfw.shallowCopy();
if (sfw.where == null)
toReturn.where = methodExpr;
else
toReturn.where = new BinaryExpression("AND", sfw.where, methodExpr);
return toReturn;
}
else if (query.isSelectFromWhereGroupHaving())
{
GroupedSelectFromWhere<V, ?> sfw = (GroupedSelectFromWhere<V, ?>)query;
Expression methodExpr = computeWhereReturnExpr(where, sfw, parentArgumentScope);
// Create the new query, merging in the analysis of the method
GroupedSelectFromWhere<U, ?> toReturn = (GroupedSelectFromWhere<U, ?>)sfw.shallowCopy();
if (sfw.having == null)
toReturn.having = methodExpr;
else
toReturn.having = new BinaryExpression("AND", sfw.having, methodExpr);
return toReturn;
}
throw new QueryTransformException("Existing query cannot be transformed further");
}
catch (TypedValueVisitorException e)