frankiesardo / auto-parcel

Android Parcelable models made easy
Eclipse Public License 1.0
1.37k stars 83 forks source link

Generics are not inherited #54

Open Zhuinden opened 7 years ago

Zhuinden commented 7 years ago

AutoValue itself handles generics properly:

Generated("com.google.auto.value.processor.AutoValueProcessor")
 abstract class $AutoValue_Action<T extends Parcelable> extends Action<T> {

But auto-parcel fails:

final class AutoValue_Action extends $AutoValue_Action {

In 1.0.3, I get raw type

  public AutoValue_Action (
    java.lang.String type,
    T payload