commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: Reflection Utils
Date Sat, 30 May 2015 14:33:48 GMT
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" <MailAnTimo@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 <smsiebe@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 <mailantimo@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-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: user-help@commons.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message