openrewrite / openrewrite/rewrite-migrate-java
Convert Google Auto value to records
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 156
- Forks
- 130
- Avg merge
- 20h 57m
- Merged PRs (30d)
- 21
Description
Came across this trade-off and migration analysis for Google auto value versus Java records:
https://github.com/google/auto/blob/main/value/userguide/records.md#translating-an-autovalue-class-into-a-record
Interesting analysis, and already reads like a migration recipe with the before and after samples, as well as edge cases when not to convert just yet.
Thought it might be interesting to write a migration recipe for, or at least gauge interest here. We could even reach out for a contribution or collaboration.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the linked Google Auto migration analysis, including its before-and-after samples and edge cases. Then inspect this repository’s existing Java migration recipes to determine whether a Google Auto Value-to-record recipe fits; the issue does not identify a file, test, or concrete completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100