Bug 77581 - [quick fix] improve method fixes on overloaded methods
Summary: [quick fix] improve method fixes on overloaded methods
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 101117 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-03 05:45 EST by Tobias Widmer CLA
Modified: 2009-01-23 11:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Widmer CLA 2004-11-03 05:45:36 EST
200411022000:

Steps to reproduce:
- Try the following snippet:

  public final boolean visit(QualifiedName node) {
    final IBinding binding= node.resolveBinding();
    if (binding instanceof IVariableBinding && JdtFlags.isStatic(binding)) {

    }
  }

- Invoke quickfix on "isStatic"
- The only cast argument proposal is "IMember". JdtFlags however offers 
methods taking "IVariableBinding" and "IMethodBinding"
-> There should be proposals for these two as well
Comment 1 Martin Aeschlimann CLA 2005-06-22 03:24:11 EDT
*** Bug 101117 has been marked as a duplicate of this bug. ***