The recent release of Lang does provide a method to get fields with a
particular annotation.

Matt
On May 30, 2015 7:27 AM, "Timo" <mailant...@gmx.de> wrote:

> Thank you for the suggestions!
>
> Commons Weaver kind of has a way to do what I want, but it's... ehm...
> woven with the rest of the project (e.g. WeavableField). So I ended up
> implementing my own method and then using Lang's FieldUtils to read
> and write the fields.
>
>
> 2015-05-28 23:20 GMT+02:00 Steven Siebert <smsi...@gmail.com>:
> > also take a look at the weaver project...
> > https://commons.apache.org/proper/commons-weaver/
> >
> >
> >
> > On Thu, May 28, 2015 at 4:55 PM, Timo <mailant...@gmail.com> wrote:
> >
> >> Hello everyone,
> >>
> >> I was wondering if there is a utility somewhere in Commons with which
> >> I can get all fields of a class with a given Annotation. Something
> >> similar to Spring's (internal) ReflectionUtils.doWithFields(). I
> >> couldn't find anything in Lang or BeanUtils. Anywhere else I should
> >> take a look?
> >>
> >> Thanks
> >> Timo
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> >> For additional commands, e-mail: user-h...@commons.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>

Reply via email to