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

AutoValue support for very large classes. #1642

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 21, 2023

  1. AutoValue support for very large classes.

    This change makes it so that if the AutoValue class defines a Builder method, the builder will be passed to the constructor. Effectively working around the java 255 method-arg limit.
    
    This is instead of defining a constructor where every field in the autovalue is an argument in it.
    
    This change will only apply to autovalues that don't have extensions: in which case the constructor is private and we can be assured that updating it shouldn't be problematic for current cases.
    
    RELNOTES=Support for AutoValues with +255 properties.
    PiperOrigin-RevId: 582096324
    alasiads authored and Google Java Core Libraries committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    2af3791 View commit details
    Browse the repository at this point in the history