You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Kalle Korhonen <ka...@gmail.com> on 2012/10/28 03:56:27 UTC
PropertyAccess.getAnnotation?
We don't seem to have anything for fetching annotations... wouldn't it
be nice if you could do PropertyAccess.get(Object instance, String
propertyName, Class<? extends Annotation> annotationClass) without
having to care whether the annotation is on the getter or on the
field? Anybody object to adding it?
Kalle
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: PropertyAccess.getAnnotation?
Posted by Kalle Korhonen <ka...@gmail.com>.
https://issues.apache.org/jira/browse/TAP5-2022
On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> I can't think of why that's not already present.
>
> On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> <ka...@gmail.com> wrote:
>> We don't seem to have anything for fetching annotations... wouldn't it
>> be nice if you could do PropertyAccess.get(Object instance, String
>> propertyName, Class<? extends Annotation> annotationClass) without
>> having to care whether the annotation is on the getter or on the
>> field? Anybody object to adding it?
>>
>> Kalle
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: PropertyAccess.getAnnotation?
Posted by Howard Lewis Ship <hl...@gmail.com>.
I can't think of why that's not already present.
On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
<ka...@gmail.com> wrote:
> We don't seem to have anything for fetching annotations... wouldn't it
> be nice if you could do PropertyAccess.get(Object instance, String
> propertyName, Class<? extends Annotation> annotationClass) without
> having to care whether the annotation is on the getter or on the
> field? Anybody object to adding it?
>
> Kalle
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org