Bug 64676 - [move method] option to change visibility of the moved method [refactoring]
Summary: [move method] option to change visibility of the moved method [refactoring]
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 12:26 EDT by Nico Seessle CLA
Modified: 2007-06-14 10:45 EDT (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 Nico Seessle CLA 2004-05-29 12:26:01 EDT
I200405282000

Move should provide a way to change (enhance) visibility of the moved method.

Especially, if while performing the refactoring you already get a warning (if it
applies) that "In 'Foo', moved method 'bar' will not be visible from 'Baz'"
Comment 1 Dirk Baeumer CLA 2004-05-29 12:47:09 EDT
Not for 3.0
Comment 2 Martin Aeschlimann CLA 2006-06-13 02:28:53 EDT
Tobias, wht's the story here. Do we automatically update the visibility?
Comment 3 Tobias Widmer CLA 2006-06-13 03:28:45 EDT
It depends on the refactoring used. Move Method updates visibility, but reorg and dnd does not. Nico, could you please give a specific code snippet that exhibits the defect?