Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » IMethod.getSignature weirdness...
IMethod.getSignature weirdness... [message #146128] Fri, 27 February 2004 13:25 Go to next message
Eclipse UserFriend
Why does getSignature sometimes return a 'Q' for reference type field
descriptor instead of the expected 'L'? It seems to happen on non-core
class methods.

For instance, two methods with identical signatures:
java.lang.Byte compareTo (Ljava/lang/Object;)I
net.miscanthus.utils.Jfind compareTo (Qjava.lang.Object;)I

Thanks-- Mike
Re: IMethod.getSignature weirdness... [message #146190 is a reply to message #146128] Fri, 27 February 2004 15:15 Go to previous message
Eclipse UserFriend
rtfm yields: org.eclipse.jdt.core.Signature and the explanation.

Mike Summers wrote:
> Why does getSignature sometimes return a 'Q' for reference type field
> descriptor instead of the expected 'L'? It seems to happen on non-core
> class methods.
>
> For instance, two methods with identical signatures:
> java.lang.Byte compareTo (Ljava/lang/Object;)I
> net.miscanthus.utils.Jfind compareTo (Qjava.lang.Object;)I
>
> Thanks-- Mike
Previous Topic:How do I use shared launch configurations?
Next Topic:Unhandled Exception In Eclipse
Goto Forum:
  


Current Time: Sat May 31 08:10:29 EDT 2025

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

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

Back to the top