Re: [lang] MethodUtils - assignableFrom

2002-11-21 Thread Stephen Colebourne
From: "robert burrell donkin" <[EMAIL PROTECTED]> > getMatchingAccessibleMethod is the next bit in next in line. > > this is what class.getMethod should be (but isn't at least - for pre 1.4 > JVMs). in other words, it should give the same result through reflection > as the compiler would give. the

Re: [lang] MethodUtils - assignableFrom

2002-11-20 Thread robert burrell donkin
On Monday, November 18, 2002, at 11:05 PM, Stephen Colebourne wrote: Ahh, now I remember my thinking... ClassUtils version is non-reflection specific, thus it knows nothing about Boolean to boolean mappings for reflection purposes. ReflectionUtils.isCompatable() was (I think) intended to be the

Re: [lang] MethodUtils - assignableFrom

2002-11-19 Thread robert burrell donkin
ay, November 18, 2002 8:12 PM Subject: Re: [lang] MethodUtils - assignableFrom hi Stephen i've been taking a look at the assignable logic in ClassUtils. it's unfortunate that it can't be used as a replacement for isAssignmentCompatible in MethodUtils. the problem is that reflect

Re: [lang] MethodUtils - assignableFrom

2002-11-18 Thread robert burrell donkin
hi Stephen i've been taking a look at the assignable logic in ClassUtils. it's unfortunate that it can't be used as a replacement for isAssignmentCompatible in MethodUtils. the problem is that reflection allows the matching of primitives to their class counterparts. so, for example, a Boolean

[lang] MethodUtils - assignableFrom

2002-11-14 Thread Stephen Colebourne
Michael, you may want to have a look at the ClassUtils class in [lang]. This is where I moved some of the assignableFrom logic (ie. moved out of MethodUtils). ClassUtils has no tests, so if you have some for this method then that would be good ;-) (It was moved as its not dependent on reflection,