Bug 25163 - AST DCR: Parameter names in IMethodBinding
Summary: AST DCR: Parameter names in IMethodBinding
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-22 05:15 EDT by Martin Aeschlimann CLA
Modified: 2002-10-22 08:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2002-10-22 05:15:54 EDT
20021018

IMethodBinding returns the parameter types. I now would need the parameter 
names.
Could the IMethodBinding return them?

I know that this is an exotic wish, and that a IMethodBinding doesn't really 
need to know about parameter names. I'm fine if you close this if it is not 
trivial.
Comment 1 Olivier Thomann CLA 2002-10-22 08:22:09 EDT
I think this doesn't make sense. The IMethodBinding is an object that represents
the "resolved" information of its corresponding MethodDeclaration. The names of
the parameters have nothing to do with resolved information.
If you want the parameter names, then simply get the declaring node and iterate
the parameters collection. You can get the names of each parameter by asking the
name of the corresponding SingleVariableDeclaration.
Ok to close?
Comment 2 Martin Aeschlimann CLA 2002-10-22 08:33:18 EDT
ok to close.
Comment 3 Olivier Thomann CLA 2002-10-22 08:44:26 EDT
Closing as INVALID.