Bug 27173

Summary: API: add methodInvocation.resolveMethodBinding
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: All   
Whiteboard:

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.