# AutoValue Extensions

DevFeed: [AutoValue Extensions](<https://devfeed.tech/articles/autovalue-extensions-30586.md>)

Original publisher: [Read original article](<https://ryanharter.com/blog/2016/05/autovalue-extensions/>)

Published: 2016-05-16T07:00:00Z

Content type: tutorial

Language: en

Sources: [Blogs on Ryan Harter](<https://devfeed.tech/sources/blogs-on-ryan-harter.md>)

Topics: [Code generation](<https://devfeed.tech/topics/code-generation.md>), [Extension](<https://devfeed.tech/topics/extension.md>), [Code](<https://devfeed.tech/topics/code.md>), [Java](<https://devfeed.tech/topics/java.md>), [serviceloader](<https://devfeed.tech/topics/serviceloader.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>)

Tags: [annotation-processor](<https://devfeed.tech/tags/annotation-processor.md>), [article](<https://devfeed.tech/tags/article.md>), [code](<https://devfeed.tech/tags/code.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [java](<https://devfeed.tech/tags/java.md>), [maven](<https://devfeed.tech/tags/maven.md>), [serviceloader](<https://devfeed.tech/tags/serviceloader.md>)

## AI overview

This tutorial explains AutoValue Extensions, which extend AutoValue's compile-time generation of immutable Java value types. It describes how extensions add functionality to generated implementations, are discovered through Java ServiceLoader, and can support integrations such as JSON, Protocol Buffers, databases, and Android Parcelable.

## Source excerpt

This is the third article in a series on AutoValue. The first article introduced AutoValue, the code generating annotation processor for value types. The second took a more in depth look at the code generated by AutoValue, and the benefits of compile time code generation. In a previous article introducing AutoValue, I briefly mentioned AutoValue Extensions. Now it's time to go a bit more in depth to look at what extensions are, how they work, and how they can help you get even more out of AutoValue.