History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRVY-948
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ilya Sergey
Reporter: Arnon - Moscona
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Groovy

add refactor method arguments to map

Created: 24 Jan 08 03:26   Updated: 14 Oct 08 19:37
Component/s: Refactoring
Affects Version/s: None
Fix Version/s: jetgroovy 2.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
As groovy code grows methods seem to get more and more arguments, most of them optional. It would be nice to be able to take a method with "traditional" arguments, and automatically generate a map variant of the method that delegates to the original.
An additional possibility is ao also allow for refactoring uses of the method to use the map ("named argument") variant instead of the original signature

 All   Comments   Work Log   Change History      Sort Order:
Ilya Sergey - 26 Aug 08 17:33
Hm... It's a bit another that I did.

Ilya Sergey - 14 Oct 08 19:37
See "Convert parameter to map entry" intention.