Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: "@AutoParcel classes cannot have abstract methods other than..." #25

Closed
hannesstruss opened this issue May 31, 2015 · 3 comments

Comments

@hannesstruss
Copy link

A warning is logged during build whenever I create an AutoParcel-class that implements Parcelable: warning: @AutoParcel classes cannot have abstract methods other than property getters and Builder converters

Example class:

@AutoParcel
public abstract class TestAutoP implements Parcelable {
  public abstract String name();

  public static TestAutoP create(String name) {
    return new AutoParcel_TestAutoP(name);
  }
}

without Parcelable, the warning isn't logged.

Tested with Gradle 2.4, Java 1.8.0_40-ea, starting the build from the commandline.

@Nimrodda
Copy link

I'm getting the same warnings. When do you plan on making a new release?

@tomrozb
Copy link

tomrozb commented Aug 4, 2015

+1

@frankiesardo
Copy link
Owner

0.3.1 released. should be indexed in a couple of hours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants