Settings

Theme

Show HN: RecordBuilder v28

1 points by Randgalt 4 years ago · 0 comments · 1 min read


https://github.com/Randgalt/record-builder

This project is an annotation processor that creates:

- a companion builder class for Java records

- an interface that adds "with" copy methods

- an annotation that generates a Java record from an Interface template

The growing community of RecordBuilder users has resulted in the latest release. Over the past few releases, these features have been added:

- Support single item collection builders

- Include all records from a list of packages

- Special handling for record components of type List, Set,Map and Collection

- Support validation api

- Support for NotNull-style annotations

- Set optional fields to empty by default

- Support copying component annotations to builder

- Custom RecordBuilder annotations

- Much more!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection