Yeah, I think it would make sense.

I've created ISIS-273 [1] for this idea.

Don't intend to work on it myself, but worth capturing, I think.

[1]  https://issues.apache.org/jira/browse/ISIS-273

On 25 September 2012 10:56, <[email protected]> wrote:

> Hi Dan,
>
> Maybe you're right that is not enough for just Lombok.
>
> However in one of the project goals I read something about Isis support
> for other JVM languages. In that case it might make sense to have support
> for annotations on fields as well.
>
> What do you think?
>
> Regards,
>
> Minto
>
>
>
> Quoting Dan Haywood <[email protected]>**:
>
>  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/<http://danhaywood.com/2009/09/13/using-project-lombok-with-naked-objects/>
>>
>>
>
>

Reply via email to