They have good documentation... ________________________________________ From: Andrew Gaul [g...@apache.org] Sent: Friday, November 15, 2013 12:42 AM To: dev@jclouds.apache.org Subject: Re: Project Lombok - Builders (and other annotations)
On Mon, Nov 11, 2013 at 11:11:35AM -0800, Andrew Gaul wrote: > On Mon, Nov 11, 2013 at 10:36:26AM -0800, Jeremy Daggett wrote: > > Hi devs, > > > > Has anyone in the community ever looked at using Project Lombok[1] to help > > simplify our source code? I stumbled across this a couple of years back > > and thought it was pretty useful. Just never had a chance to use it with > > anything... > > > > I think that the @Builder [2], @EqualsHashCode, and other annotations could > > make many of our classes much simpler. We might be able to get rid of all > > of that boilerplate code! ;) > > > > WDYT? > > > > [1] http://projectlombok.org/ > > [2] > > https://github.com/rzwitserloot/lombok/blob/master/src/core/lombok/experimental/Builder.java > > -1, I find that the Java annotation magic libraries tend to create more > problems than they solve. Specifically, they make debugging more > difficult and introduce performance problems like JCLOUDS-358. Further > these dialects make code hard to approach for casual developers. Still not in favor of magic, but Google recently released AutoValue, a less invasive annotation approach to value types, including getters: https://github.com/google/auto http://goo.gl/Ter394 Auto has some issues but holds promise; we should keep an eye on it. -- Andrew Gaul http://gaul.org/