private CodeBlock generateKeyMapFunction(
        TypeMirror originalType,
        TypeMirror transformedType,
        Function<CodeBlock, CodeBlock> proxyMap) {
      CodeBlock element = factory.newIdentifier("element");
      CodeBlock value = factory.newIdentifier("value");
      return CodeBlock.of(
          "$1L -> $2T.<$3T, $4T>wrapper($5L -> $6L).apply($1L.getKey())",
          value,
          FunctionWithExceptions.class,
          originalType,
          transformedType,
          element,
          proxyMap.apply(element));
    }
A {@link SerializerExtension} that deserializes objects inside an {@link ImmutableMap}.

<p>Enables unserializable objects inside an ImmutableMap to be serializable.
value/src/main/java/com/google/auto/value/extension/serializable/serializer/impl/ImmutableMapSerializerExtension.java