private CodeBlock formatMap(TypeMirror type, DelegateMethod delegateMethod) {
      ImmutableList<TypeMirror> typeParameters = resolvedTypeParameters(type, "java.util.Map");
      TypeMirror keyType = typeParameters.get(0);
      TypeMirror valueType = typeParameters.get(1);
      return delegateMethod.invocation(
          mapOf(keyType, valueType), () -> mapMethodBody(keyType, valueType));
    }
Returns {@code propertyAccess} formatted for use within the {@link
com.google.auto.value.extension.toprettystring.ToPrettyString} implementation.

<p>If a helper method is necessary for formatting, a {@link MethodSpec} will be added to
{@link #delegateMethods}.

@param propertyAccess a reference to the variable that should be formatted.
@param indentAccess a reference to an {@code int} representing how many indent levels should
    be used for this property.
@param type the type of the {@code propertyAccess}.
value/src/main/java/com/google/auto/value/extension/toprettystring/processor/ToPrettyStringExtension.java