On 22 September 2012 11:18, Minto van der Sluis <[email protected]> wrote:

>
> PS. Regarding code formatting I prefer my own formatting (me being
> stubborn ;-) which is consistent over my isis and not isis projects. But
> thanks for the tip anyways. To reduce boilerplate (getters and setters)
> I mostly use Lombok.
>
>
Interesting.  I did a blog post on Lombok a while [1] (the screencast link
now seems to have died, oh well).  But one thing that prevents us from
really reducing boilerplate with Lombok (unless you know better?) is that
Isis searches for annotations on the getters, not on the fields.

I guess it'd be easy enough to enhance all of the FacetFactories to search
for their annotations on the field as well as on the getter.  Is Lombok
used enough to justify the effort, though, I ask myself?

Cheers
Dan


[1]
http://danhaywood.com/2009/09/13/using-project-lombok-with-naked-objects/

Reply via email to