private static boolean isImmutableList(TypeMirror type) {
    if (type.getKind() != TypeKind.DECLARED) {
      return false;
    }

    return MoreTypes.asTypeElement(type)
        .getQualifiedName()
        .contentEquals("com.google.common.collect.ImmutableList");
  }
A {@link SerializerExtension} that deserializes objects inside an {@link ImmutableList}.

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