commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [commons] Reflection code
Date Mon, 23 Sep 2002 05:09:09 GMT

I got this put together over the weekend. It's very interesting. I got to
use Dynamic Proxies for the first time, and adore them. So that could be
dangerous :)

It's probably grown a bit beyond a simple thing to throw into your
reflection soup, so I'll continue to grow it a bit.

Hen

On Sat, 21 Sep 2002, Henri Yandell wrote:

>
> An idea someone gave me yesterday was:
>
> RandomBeanMaker.
>
> rbm = new RandomBeanMaker();
> rbm.setMaker( new MyComplexNumberMaker() );
> Person person = (Person)rbm.make(Person.class);
>
> or just:
>
> Person person = (Person)RandomBeanMaker.make(Person.class);
>
> if you didn't want to make random fields for non-JDK properties.
>
> It's on my todo, but is a cool idea and thought I'd float it into
> Reflection code.
>
> Hen
>
> On Sat, 21 Sep 2002, Stephen Colebourne wrote:
>
> > I have started writing the reflection code for the new [lang] reflection
> > subpackage.
> >
> > A fair bit of the basic stuff is now done (its in lang sandbox if you're
> > looking). It still needs tests.
> >
> > What I'm looking for is
> > - any code that already exists for assisting with reflection (I've already
> > got beanutils)
> > - any code that can match classes against the Java LanguageSpecification
> > rules for widening
> > - any tests that already exist for reflection
> >
> > Any code from within commons or elsewhere is welcome to be looked at ;-)
> > Hyperlinks, not attachments, if possible please.
> >
> > Stephen
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message