innerbuilder icon indicating copy to clipboard operation
innerbuilder copied to clipboard

Use 'set...' notation

Open jaredrummler opened this issue 9 years ago • 2 comments

It would be a nice feature to use a 'set' prefix instead of 'with'. Many builder patterns I've seen on Android use 'set'. Also, it would be nice to have fields in the builder class be package-local to avoid creating synthetic accessor methods.

jaredrummler avatar Dec 14 '16 09:12 jaredrummler

image

There is set notation in cofig options, but it can be chosen together with 'with notation', what's a little misleading. I can add package-local access as config property if it would be accepted eventually.

minidmnv avatar Aug 22 '18 11:08 minidmnv

Would like to have this too. Good suggestion.

Adriansun avatar Dec 23 '20 20:12 Adriansun