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

Manually create LST for enums in MinimumSwitchCases #204

Merged
merged 1 commit into from
Oct 21, 2023

Commits on Oct 21, 2023

  1. Manually create LST for enums in MinimumSwitchCases

    When the types are not known in advance the `JavaTemplate` classpath can also not be configured for these types. As a consequence the corresponding elements cannot be properly type-attributed.
    
    So that the result of `MinimumSwitchCases` is properly type-attributed when transforming a `switch` over an enum, the recipe now manually creates the LST. Then the `ShortenFullyQualifiedTypeReferences` visitor also works properly.
    knutwannheden committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    108c66d View commit details
    Browse the repository at this point in the history