AutoRecord
AutoRecord is a code generator that helps you easily generate Java records. It provides an easy way to avoid writing repetitive boilerplate code. It generates the code with features such as:
- nullability checking
- builders - incorporating Randgalt/record-builder library
- memoization
- ignoring fields in
hashCode()
andequals()
methods - generated common methods if the record has an array recordComponent
- exclusion from JaCoCo test coverage analysis
AutoRecord allows users to customize record generation process by:
- specifying options
- using custom annotation templates
- implementing custom extensions
See morea at GitHub.