@Override
  public String generateClass(
      Context context, String className, String classToExtend, boolean isFinal) {
    TypeSpec type =
        extensionClassTypeSpecBuilder(context, className, classToExtend, isFinal)
            .addMethods(toPrettyStringMethodSpecs(context))
            .build();
    return JavaFile.builder(context.packageName(), type)
        .skipJavaLangImports(true)
        .build()
        .toString();
  }
Generates implementations of {@link
com.google.auto.value.extension.toprettystring.ToPrettyString} annotated methods in {@link
com.google.auto.value.AutoValue} types.
value/src/main/java/com/google/auto/value/extension/toprettystring/processor/ToPrettyStringExtension.java