Bug 69022

Summary: [1.5][dom] add API to ask for inferred type arguments for a call to a generic method
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r
Version: 3.0   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2004-06-30 11:11:19 EDT
3.0
when a generic method is invoked, the actual type arguments are inferred. an API
to ask for the inferred values would be useful.
Comment 1 Philipe Mulet CLA 2004-06-30 12:49:43 EDT
Where would you want such an API ? The DOM AST could answer the inferred 
binding (which could be connected to original method).
Comment 2 Adam Kiezun CLA 2004-06-30 12:53:11 EDT
on invocation nodes probably.
i know there's no single invocation node but it's bug 53586 (killed now, however)
Comment 3 Markus Keller CLA 2004-09-15 05:32:59 EDT
+1
Comment 4 Philipe Mulet CLA 2004-11-09 12:34:47 EST
Please elaborate on what exactly you need, and how you would access it.
Can commit for M4 until understood.
Comment 5 Markus Keller CLA 2004-11-10 12:07:10 EST
Hm, I have to admit that I don't really remember in what context I thought I
would need this. Thinking about it again, I found that the information is
already available via the IMethodBinding#getErasure() link (comparing the type
parameters of parameterized and generic types).

So, -1 from my part (i.e. nothing to be done here to make me happy).
But maybe Adam was thinking about something else.
Comment 6 Jerome Lanneluc CLA 2004-12-13 12:18:09 EST
Adam, do you still need something ?
Comment 7 Adam Kiezun CLA 2004-12-13 12:41:22 EST
ok to close for now. will reopen if I need it in the future.
thanks
Comment 8 Jerome Lanneluc CLA 2004-12-14 04:36:46 EST
Thanks. Closing then.