auto-parcel icon indicating copy to clipboard operation
auto-parcel copied to clipboard

Generics are not inherited

Open Zhuinden opened this issue 7 years ago • 0 comments

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

Zhuinden avatar Apr 13 '17 09:04 Zhuinden