Slick V3.3 manual Quick Extract Method Refactoring

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 221
Image 221

Quick Refactoring

Quick Extract Method

After selecting a set of lines, Quick Extract Method creates a new method with the selected lines as the body. It discovers any undeclared variables and creates them as parameters to the new method. The ex- tracted method is created in the same scope as the original method. Quick Extract Method is only avail- able for C++, C#, Java, and Slick-C® .

Figure 6.30. Quick Extract Method Refactoring

199

Page 221
Image 221
Slick V3.3 manual Quick Extract Method Refactoring