Support options for RecordInterface

- Copy any @RecordBuilder.Options to the generated Record
- Support RecordInterface templates as well

Closes #64
This commit is contained in:
Jordan Zimmerman
2021-08-26 15:50:07 -05:00
parent 5f82af97ae
commit 76f93039b0
10 changed files with 157 additions and 61 deletions

View File

@@ -84,3 +84,6 @@ public @interface MyCoRecordBuilder {
Now, you can use `@MyCoRecordBuilder` instead of `@RecordBuilder` and the record
will be built with options as specified.
Note: the template mechanism also supports `@RecordInterface` templates via the `asRecordInterface` attribute.
When it is set a `@RecordInterface` template is created instead.