Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 62771

Summary: Move static member: Code assist suggests packages in binaries [refactoring]
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2004-05-18 15:55:45 EDT
20040514

- Select a static inner class and invoke 'move'
- use the code assist
  suggestions include 'org.apache.crimson'

If possible, packages in binary package fragment roots should not be presented
Comment 1 Dirk Baeumer CLA 2004-05-19 04:02:31 EDT
Markus, we discussed this yesterday and we should come to a conclusion whether 
we want to show "invalid" targets:

Pro: they are present and the user doesn't have to think about why they aren't
  in the list. For example if the user wants to move to org.eclipse... but
  doesn't know its binary he might be confused that he doesn't find it in the
  list

Cons: you can select something that will generate an error in the dialog.

Markus, what exactly are we doing in other places.
Comment 2 Martin Aeschlimann CLA 2006-08-03 11:21:36 EDT

*** This bug has been marked as a duplicate of 51625 ***