Skip to content

Groovy Parser supports basic Enum classes #5781

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

Merged
merged 25 commits into from
Jul 25, 2025
Merged

Conversation

timtebeek
Copy link
Member

@timtebeek timtebeek commented Jul 21, 2025

What's changed?

Basic enumeration can be parsed as well.

What's your motivation?

No support for constructor parameters yet

There is no ConstructorCallExpression available at the enum fields, even if you use a constructor. To make the review of this PR easier, I created a follow up PR:

github-actions[bot]

This comment was marked as spam.

github-actions[bot]

This comment was marked as spam.

@jevanlingen jevanlingen changed the title Parse Groovy Enums Parse basic Groovy Enums Jul 24, 2025
@jevanlingen jevanlingen marked this pull request as ready for review July 24, 2025 11:45
@jevanlingen jevanlingen changed the title Parse basic Groovy Enums Groovy Parser supports basic Enum classes Jul 24, 2025
@jevanlingen jevanlingen merged commit 9cdf63b into main Jul 25, 2025
2 checks passed
@jevanlingen jevanlingen deleted the parse-groovy-enums branch July 25, 2025 19:45
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants