On Thu, Nov 10, 2016 at 6:47 AM, James Kleeh <[email protected]> wrote:
> What about something like object.build { } ?

If you are solely using 'with' to build an object and 'with' by itself
isn't good enough Groovy also has the @Builder annotation. Probably
best we don't confuse normal 'with' with the @Builder transform which
already by default has a 'build' method:

http://groovy-lang.org/metaprogramming.html#xform-Builder

Reply via email to