Unwrap Method Parameter in Maia

Anton Makeev

Now you can use Shift+Ctrl+Del to quickly unwrap a parameter from a method call.
Lets look at the example:

If we have something like this

after unwrapping it will become

Comments below can no longer be edited.

2 Responses to Unwrap Method Parameter in Maia

  1. Chris R says:

    April 6, 2009

    I’m not quite clear what changes this will make elsewhere, if any. Will the callers of findPerson be calling quote() or will createQuery now be calling quote(), or is something else happening…? Could you explain a little more? Thanks

  2. Anton.Makeev says:

    April 6, 2009

    It this particular case it removes intermediate method ‘quote’ call.
    You can see it on the second code snippet.


Subscribe for updates