Community
Participate
Working Groups
I20080807-1402. 1. replace BreadcrumbMessages.java with: private static Class thisClass= BreadcrumbMessages.class; private static final String BUNDLE_NAME= thisClass.getName(); public static String BreadcrumbItemDropDown_showDropDownMenu_action_toolTip; static { // initialize resource bundle NLS.initializeMessages(BUNDLE_NAME, thisClass); } private BreadcrumbMessages() { } 2. select 'thisClass' in "NLS.initializeMessages(BUNDLE_NAME, thisClass);" 3. Refactor > Inline... ==> should not allow to refactor 4. start to refactor all invocations ==> gives tons of wrong edits
There are basically two problems: 1.) Inline Method wizard should tell which method will be inlined. This is bug 37839. 2.) Inline Method should not be available when the selection is a simple name that is not a method name. I've fixed this in HEAD.