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 "@Generated" annotation to generated classes #97

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

mbruggmann
Copy link
Contributor

@mbruggmann mbruggmann commented Jul 9, 2024

What's changed?

Add a @Generated annotation to each generated class.

What's your motivation?

This allows me to exclude the generated classes from linters such as error-prone.

@mbruggmann mbruggmann marked this pull request as ready for review July 10, 2024 07:31
@mbruggmann
Copy link
Contributor Author

@timtebeek Any thoughts on this?

@timtebeek
Copy link
Contributor

Awesome work, yes makes total sense; I'd missed your issue & PR earlier; sometimes our Slack integration drops a few messages. Thanks for the tag!

@timtebeek timtebeek self-requested a review July 12, 2024 10:49
@timtebeek timtebeek self-assigned this Jul 12, 2024
@timtebeek timtebeek added enhancement New feature or request good first issue Good for newcomers labels Jul 12, 2024
@timtebeek timtebeek merged commit 4f74ea0 into openrewrite:main Jul 12, 2024
1 check passed
@mbruggmann mbruggmann deleted the add-generated-annotation branch August 1, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants