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

Ensure type names in AutoOneOf generated code are qualified if needed. #1818

Merged
merged 1 commit into from
Aug 6, 2024

Commits on Aug 6, 2024

  1. Ensure type names in AutoOneOf generated code are qualified if needed.

    If the parent class has a nested type called `String` or `Object` then that is
    what plain `String` or `Object` in the generated code will refer to. That's
    pretty unlikely to happen, but we should still handle it properly. The use of
    backticks in the template means that the fully-qualified name will be used if
    necessary.
    
    RELNOTES=n/a
    PiperOrigin-RevId: 660047188
    eamonnmcmanus authored and Google Java Core Libraries committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fe6b5c5 View commit details
    Browse the repository at this point in the history