https://github.com/Randgalt/record-builder<p>This project is an annotation processor that creates:<p>- a companion builder class for Java records<p>- an interface that adds "with" copy methods<p>- an annotation that generates a Java record from an Interface template<p>The growing community of RecordBuilder users has resulted in the latest release. Over the past few releases, these features have been added:<p>- Support single item collection builders<p>- Include all records from a list of packages<p>- Special handling for record components of type List, Set,Map and Collection<p>- Support validation api<p>- Support for NotNull-style annotations<p>- Set optional fields to empty by default<p>- Support copying component annotations to builder<p>- Custom RecordBuilder annotations<p>- Much more!