package com.aitorvs.autoparcel; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * An annotation to indicate the auto-parcel that the annotated class needs to be {@link android.os.Parcelable} * * <pre> * <code> * {@literal @}AutoParcel public abstract class Foo {...} * </code> * </pre> */ @Target(ElementType.TYPE) // on class level @Retention(RetentionPolicy.SOURCE) public @interface AutoParcel { int version() default 0; }