private CodeBlock forEachLoopMethodBody(TypeMirror elementType) {
      return loopMethodBody(
          "[",
          "]",
          CodeBlock.of("for ($T element : value)", elementType),
          format(CodeBlock.of("element"), CodeBlock.of("indentLevel + 1"), elementType));
    }
Parameter object to simplify the branches of {@link #format(CodeBlock, CodeBlock,
TypeMirror)} that call a delegate method.
value/src/main/java/com/google/auto/value/extension/toprettystring/processor/ToPrettyStringExtension.java