Re: [lang] Extension to ClassUtils

2007-08-03 Thread Oliver Heger
Henri Yandell wrote: Seems good to me. Unit test should confirm symmetry between the two methods too. Of interest: http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=291000e179b5162d5ae0d03c598e0:WuuT?bug_id=6176992 Hen There is a new enhancement request for this feature, including a pat

Re: [lang] Extension to ClassUtils

2007-08-02 Thread Henri Yandell
Seems good to me. Unit test should confirm symmetry between the two methods too. Of interest: http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=291000e179b5162d5ae0d03c598e0:WuuT?bug_id=6176992 Hen On 8/2/07, Oliver Heger <[EMAIL PROTECTED]> wrote: > Hi, > > for some tasks related to refle

[lang] Extension to ClassUtils

2007-08-02 Thread Oliver Heger
Hi, for some tasks related to reflection and method invocation I need the counter part of the ClassUtils.primitiveToWrapper() method: /** * Returns the corresponding primitive type if cls is a wrapper * class and null otherwise. */ Class wrapperToPrimitive(Class cls) If this is considered