Our project uses this annotation, but it doesn't seem to be supported by auto-value-parcel. I imagine it has to do with the annotation applying to the type rather than the method:
abstract @Nullable String exampleString();
Changing it to
@Nullable
abstract String exampleString();
doesn't really make a difference.
Note, however, that this is supported by AutoValue. The effect is the generated Parcelable fails at runtime whenever it writes or parses a null value.
Hello!
Our project uses this annotation, but it doesn't seem to be supported by auto-value-parcel. I imagine it has to do with the annotation applying to the type rather than the method:
Changing it to
doesn't really make a difference.
Note, however, that this is supported by AutoValue. The effect is the generated Parcelable fails at runtime whenever it writes or parses a null value.