commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory" <ggreg...@seagullsoftware.com>
Subject RE: [lang] ClassUtils.getPublicMethod
Date Mon, 15 May 2006 17:03:53 GMT
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:scolebourne@btopenworld.com]
> 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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


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


Mime
View raw message