all...
i'm taking my first tour through the beanutils library. when i stumbled
across ConstructorUtils and MethodUtils, it reminded me a lot of
some code i wrote for a java rag article a while back. the article's
here:
http://www.adtmag.com/java/article.asp?id=4276&mon=8&yr=2001
and the most recent code (with JUnit tests) is here:
http://home.comcast.net/~pholser/software/reflective-method-lookup.zip
if judged useful, i'd be happy to donate this stuff, perhaps even
submitting
a patch. i feel that the code's pretty clean...in addition, when finding
methods/ctors compatible with a set of args, it respects java's primitive
widening rules and handles null actual arguments.
thanks for having a look.
cheers,
p
Paul Holser
If a system is to serve the creative spirit, it must be entirely
comprehensible to a single individual.
-- Dan Ingalls, "Design Principles Behind Smalltalk"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]