// Note: both contexts are evaluated..
contextBlock.addStatement(thenPart.getContextBlock());
contextBlock.addStatement(elsePart.getContextBlock());
OperatorExpression ternaryExpression = new OperatorExpression.Ternary(condJavaExpression, new JavaExpression.CastExpression(JavaTypeNames.RTVALUE, thenPart.getJavaExpression()), elsePart.getJavaExpression());
return new ExpressionContextPair(ternaryExpression, contextBlock);
}
// With the changes to the compiler to lift inner cases into their own function