ExpressionContextPair ecp = generateUnboxedArgument(JavaTypeName.CHAR, eswitch.getSwitchExpr(), variableContext);
switchBlock.addStatement(ecp.getContextBlock());
JavaExpression conditionExpression = ecp.getJavaExpression();
switchStatement = new SwitchStatement(conditionExpression);
switchBlock.addStatement(switchStatement);
// Populate the switch statement with case statement groups.
for (final SwitchAlt alt : alts) {
// Create a new child variable scope to handle the alternate and any let variables it contains.
variableContext.pushJavaScope();