Lines Matching refs:AutoValue
1 # AutoValue with Builders
5 AutoValue using a static factory method as your public creation API. But in many
9 Fortunately, AutoValue can generate builder classes too! This page explains how.
14 ## How to use AutoValue with Builders<a name="howto"></a>
16 As explained in the introduction, the AutoValue concept is that **you write an
17 abstract value class, and AutoValue implements it**. Builder generation works in
19 your abstract value class, and AutoValue generates implementations for both.
24 import com.google.auto.value.AutoValue;
26 @AutoValue
35 @AutoValue.Builder
68 ### What does AutoValue generate?<a name="generated"></a>
70 For the `Animal` example shown above, here is [typical code AutoValue might