{
SymbExToColumns translator = config.newSymbExToColumns(SelectFromWhereLambdaArgumentHandler.fromSelectFromWhere(sfw, where, config.metamodel, parentArgumentScope, withSource));
Expression methodExpr = null;
for (int n = 0; n < where.symbolicAnalysis.paths.size(); n++)
{
PathAnalysis path = where.symbolicAnalysis.paths.get(n);
TypedValue returnVal = PathAnalysisSimplifier
.simplifyBoolean(path.getReturnValue(), config.getComparisonMethods());
SymbExPassDown returnPassdown = SymbExPassDown.with(null, true);
ColumnExpressions<?> returnColumns = returnVal.visit(translator, returnPassdown);
if (!returnColumns.isSingleColumn())
throw new QueryTransformException("Expecting single column");
Expression returnExpr = returnColumns.getOnlyColumn();