Performs Extract method refactoring with default parameters on single line where caret is placed.