Closed Randgalt closed 2 years ago
needs*Shim
is now used for shim and mutable makers. It should be renamed to reflect its meaning.addSingleItemCollectionBuilders
is true (i.e. lists are mutable) the setters for collections always create an immutable copy of the collection passed to it
On a separate note, now if I use the collection setter (addSingleItemCollectionBuilders=true) with e.g. an ArrayList I'll get an exception later if I try myRecords.someList().add(...)
because it became immutable without me asking for immutable lists..
SingleItemsMetaDataMode.STANDARD
as it wasn't usedneeds*MutableMaker
- always add them when correspondingneeds*Shim
is trueaddMutableMakers()
intoaddShims()
Fixes #129
cc @mads-b, @freelon, @tmichel