Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Re: IType.getMethod()
Re: IType.getMethod() [message #78747] Tue, 22 July 2003 08:31
Eclipse UserFriend
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
>>
>
>
>
Previous Topic:Problem while compiling stuts program using Ant in Eclipse
Next Topic:TableTree weirdness and ICursor
Goto Forum:
  


Current Time: Thu May 08 19:35:46 EDT 2025

Powered by FUDForum. Page generated in 0.03014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top