private static void appendCaseSection(StringBuilder builder,
                                        ExpressionContext context,
                                        GrExpression[] args,
                                        GrCaseSection prevSection) {
    if (prevSection.isDefault()) {
      builder.append("true");
    }
    else {
      GenerationUtil.invokeMethodByName(
        prevSection.getExpressions()[0],
        "isCase",
        args,
        GrNamedArgument.EMPTY_ARRAY,
        GrClosableBlock.EMPTY_ARRAY,
        new ExpressionGenerator(builder, context),
        prevSection
      );
    }
    builder.append("||");
  }
private static void appendCaseSection(StringBuilder builder,
                                        ExpressionContext context,
                                        GrExpression[] args,
                                        GrCaseSection prevSection)