Re: IType.getMethod() [message #78747] |
Tue, 22 July 2003 08:31 |
Eclipse User |
|
|
|
Thanks a lot, it works fine now.
Michael
Jerome Lanneluc wrote:
> Signatures from source code are unresolved. So you should use:
> IType.getMethod("foo", new String[] {"Qjava.lang.String;"}) instead.
>
> Jerome
>
> "Michael Täge" <m-taege@t-online.de> wrote in message
> news:bfj5f9$3n3$1@eclipse.org...
>
>>I'm sorry I have another problem again,
>>
>>I'm using IType.getMethod(name, parameterTypeSignature);
>>
>>If a original method foo(String string) is given, I pass the parameter
>>signature as IType.getMethod("foo", new String[]{"QString;"} which works
>>fine.
>>
>>But if a original method foo(java.lang.String string) is given and I pass
>>the signature as above the method will not be found. If I'm using
>>IType.getMethod("foo", new String[]{"Ljava.lang.String;"} the operation
>>also fails.
>>
>>Does someone knows what's wrong?
>>
>>Thanks in advance,
>>
>>Michael
>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03014 seconds