On Tue, 6 Sept 2022 at 18:20, Mitch Claborn <[email protected]> wrote: > Yes, I suppose Builder is the more correct term.
No, it isn't. It's a fluent API. A builder might use fluent setters, but they have uses elsewhere (if you do need mutability). Personally, I think this might be a good addition - the file you probably want to look at is at https://github.com/apache/netbeans/blob/master/java/java.editor/src/org/netbeans/modules/java/editor/codegen/GetterSetterGenerator.java I'd also like to see an option to leave out the set and get prefixes. Best decision in records was not to bake that convention into the language! Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
