Resolving generics TT in method signature [message #874727] |
Mon, 21 May 2012 12:49 |
|
Hi,
is there a simple means to resolve TT to java.lang.Object as given in the Signature <T:Ljava.lang.Object;>([TT;)[TT; using JDT utility methods?
org.eclipse.jdt.core.Signature offers a wealth of methods that remove any kind of generics - but I couldn't find anything that would help me to resolve TT.
Thanks,
Marcel
[Updated on: Mon, 21 May 2012 12:50] Report message to a moderator
|
|
|
|
Re: Resolving generics TT in method signature [message #875061 is a reply to message #874983] |
Tue, 22 May 2012 04:23 |
|
Hi Stephan,
thanks for your answer. So, I've to create that mapping by myself. I've to dig a little deeper into the signatures then and figure out how these strings are composed.
>You probably don't want to go through any resolved bindings, right?
I don't have them at this point. I only have signatures stored in the CompletionProposals. I just have to be sure that I can map any JDT signature to their bytecode counterpart. Otherwise I may fail to find the right proposals. http://goo.gl/aadho http://goo.gl/9YtZL
Thanks.
Marcel
|
|
|
|
Powered by
FUDForum. Page generated in 0.03366 seconds