Hi:

I think ClassUtils is fine unless it gets to be a giant class.

I think if asking a class for its methods, so asking a ClassUtils for
this info makes sense.

I could see a MethodUtils being useful if one needed to perform
operations on a bunch of methods. 

For example:

Method[] methods = ClassUtils.getMethods(...);
Method[] publicMethods = MethodUtils.toPublicMethods(methods);

Gary


> -----Original Message-----
> From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 13, 2006 5:38 AM
> To: Jakarta Commons Developers List
> Subject: [lang] ClassUtils.getPublicMethod
> 
> This is a new addition in this release.
> 
> Should we be creating a MethodUtils instead?
> 
> Stephen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to