@Override
    public ExpressionNode transform(ExpressionNode node, TransformContext context) {
        if (node instanceof CompositeNode composite)
            node = transformChildren(composite, context);

        if (node instanceof OperationNode arithmetic)
            node = transformBooleanArithmetics(arithmetic, context);

        return node;
    }
Transforms
       a &amp;&amp; b into if(a, b, false)
and
       a || b into if(a, true, b)
to avoid computing b if a is false and true respectively.

This may increase performance since boolean expressions are not short-circuited.

@author bratseth
config-model/src/main/java/com/yahoo/schema/expressiontransforms/BooleanExpressionTransformer.java