Add support for Java 16 records
Author: htsaustinCreated Mar 17, 2021Updated Sep 3, 2022
LabelsenhancementPR welcome!
Java 16 has added support for records under JEP 395, of the form.
public record Point(int x, int y) {
}It would be great to support these in JavaPoet, as among other things, they significantly reduce boilerplate.
Source: square/javapoet