Unwrap Method Parameter in Maia

April 6th, 2009 by 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

Tags:

2 Responses to “Unwrap Method Parameter in Maia”

  1. Chris R Says:

    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:

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

Leave a Reply