Annotation Type AutoValue.Builder


  • @Retention(CLASS)
    @Target(TYPE)
    public static @interface AutoValue.Builder
    Specifies that AutoValue should generate an implementation of the annotated class or interface, to serve as a builder for the value-type class it is nested within. As a simple example, here is an alternative way to write the Person class mentioned in the AutoValue example:
    {@code
    Author:
    Éamonn McManus