Bug 4170 - extract method: modifiers (1GJKYB3)
Summary: extract method: modifiers (1GJKYB3)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:07 EDT by Dirk Baeumer CLA
Modified: 2002-01-28 02:58 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 Dirk Baeumer CLA 2001-10-10 23:07:13 EDT
AK (9/5/2001 2:30:44 PM)
	a. i extract from a private static method - i expect the extracted method to be private static as well.
	b. the sequence of the access modifier should be public, protected, default, private
	c. if i extract from an instance method then the wizard could be clever enough and suggest if i can make the method
		static (i mean - give a me choice static/nopn-static; sometimes it's not possible so the checkbox would be disabled).

NOTES:
Comment 1 Dirk Baeumer CLA 2002-01-25 10:30:17 EST
Fixed a and b. No plans to fix c. C would be a separate refactoring: convert 
instance method to static method anfd vice versa. Adam please open another bug 
if you want this refactoring

Fixed in build > 20020124