559560561562563564565566567568
if (value == null) { return null; } if (value instanceof Expression) { return new NotExpression(toExpression(value, expressionTypes.get(node.getValue()))); } return !(Boolean) value; }
687688689690691692693694695696
if (value == null) { return null; } if (value instanceof Expression) { return new NotExpression(toExpression(value)); } return !(Boolean) value; }
209210211212213214215
return complement ? domain.complement() : domain; } private static Expression complementIfNecessary(Expression expression, boolean complement) { return complement ? new NotExpression(expression) : expression; }