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

Add option to override Generated annotation with Jakarta #116

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

timtebeek
Copy link
Contributor

What's changed?

Add a -Arewrite.generatedAnnotation option that folks can use to switch to jakarta.annotation.Generated.

What's your motivation?

Allow usage on from newer Java version that lack the default javax.annotation.Generated used for Java 8 compatibility.

Have you considered any alternatives or workarounds?

Could have made the Generated annotation at all optional, but figured we can handle that separately if it comes up.

Any additional context

Came up as a request.

@timtebeek timtebeek self-assigned this Nov 23, 2024
@timtebeek timtebeek added the enhancement New feature or request label Nov 23, 2024
@timtebeek timtebeek merged commit 128786b into main Nov 23, 2024
1 check passed
@timtebeek timtebeek deleted the jakarta-generated-annotation-override branch November 23, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants