Bug 27173 - API: add methodInvocation.resolveMethodBinding
Summary: API: add methodInvocation.resolveMethodBinding
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-26 13:25 EST by Adam Kiezun CLA
Modified: 2002-12-18 07:07 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-11-26 13:25:06 EST
it is unintuitive to have to do this:

(IMethodBinding)mi.getName().resolveBinding()

this method would be an analogue of what we already have:
ClassInstanceCreation.resolveConstructorBinding
Comment 1 Jim des Rivieres CLA 2002-11-27 11:14:54 EST
Agreed. We provide resolveConstructorBinding() in all 3 places where 
constructors are invoked. Methods should be treated similarly.

Added new API methods and marked @since 2.1:
    MethodInvocation.resolveMethodBinding()
    SuperMethodInvocation.resolveMethodBinding()
Comment 2 Olivier Thomann CLA 2002-11-27 11:45:21 EST
Implementation completed. Regression test added.
Comment 3 David Audel CLA 2002-12-18 07:07:24 EST
Verified.