Skip to content

Complete Builder support #49

@konmik

Description

@konmik

https://github.com/google/auto/blob/master/value/userguide/builders-howto.md#-initialize-a-builder-to-the-same-property-values-as-an-existing-value-instance

When I write public abstract Builder toBuilder(); AutoValue generates a builder but auto-value-parcel says "Error:(23, 29) error: AutoValue property toBuilder is not a supported Parcelable type."

The correct behavior would be to check if the method returns a value that is a builder then skip it from parceling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions