5 ms·
https://github.com/Randgalt/record-builder https://github.com/Randgalt/record-builder The upsides are: - it generates code and does not do anything funky with
by JanecekPetr 1y ago
https://github.com/Randgalt/record-builder https://github.com/Randgalt/record-builder
The upsides are:
- it generates code and does not do anything funky with internals,
- it has a lot of knobs if you need something a little different.
The downside is that it does not provide you with the other Lombok annotations. In practice that has been OK!
- cogman10 1y agoBesides this I'd also point to Immutables and AutoValue which both can make builders without touching jvm internals.