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

Document the order of AutoValue fields, taken from superclasses and interfaces #89

Closed
leventov opened this issue Mar 29, 2014 · 0 comments
Assignees
Labels
Component: value P4 type=documentation Documentation that is other than for an API

Comments

@leventov
Copy link

public class AutoValueTest {

    public static void main(String[] args) {
        System.out.println(
                new AutoValue_AutoValueTest_Sub(1.0f, 'c', 2L, 1, "s", null));
    }

    static interface Interface1 {
        float getFloat();
        Object getObject();
    }

    static interface Interface2 {
        float getFloat();
        char getChar();
    }

    static interface Interface3 {
        long getLong();
    }

    static abstract class Super implements Interface2, Interface3 {
        abstract int getInt();
    }

    @AutoValue
    static abstract class Sub extends Super implements Interface1, Interface2 {
        abstract String getString();
        public abstract Object getObject();
    }
}

Please, document the order of AutoValue_AutoValueTest_Sub constructor arguments.

@raghsriniv raghsriniv added the P3 label Jun 24, 2019
@kluever kluever added P4 type=documentation Documentation that is other than for an API and removed P3 labels Aug 12, 2019
ronshapiro pushed a commit that referenced this issue Aug 14, 2019
…when a class inherits abstract methods from more than one place and uses a constructor rather than a builder.

Fixes #89.

RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=256046802
@ronshapiro ronshapiro mentioned this issue Aug 14, 2019
netdpb pushed a commit that referenced this issue Aug 15, 2019
…when a class inherits abstract methods from more than one place and uses a constructor rather than a builder.

Fixes #89.

RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=256046802
@netdpb netdpb mentioned this issue Aug 15, 2019
eamonnmcmanus added a commit that referenced this issue Aug 18, 2019
…when a class inherits abstract methods from more than one place and uses a constructor rather than a builder.

Fixes #89.

RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=256046802
@netdpb netdpb closed this as completed in 91118b0 Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: value P4 type=documentation Documentation that is other than for an API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants