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

Bug 21576

Summary: Refactor: Add/Remove parameter from function
Product: [Eclipse Project] JDT Reporter: Scott Ellsworth <scott>
Component: UIAssignee: Erich Gamma <erich_gamma>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Scott Ellsworth CLA 2002-07-15 02:14:55 EDT
When coding in Java, I often need to add or remove a parameter from a function 
declaration.  While I could use the "find usage" tools to find every usage, it would be a 
great convenience if I could have an automated process.


1.  Bring up a dialog to add or remove a parameter from the current function.  This should 
list all current parameters in order.
2.  For adding a parameter, I would want to give it a type, a name, and a default for 
existing entries e.g. null.
3.  Eclipse should then find every usage and add/remove as needed.
Comment 1 Adam Kiezun CLA 2002-07-15 04:48:28 EDT

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