RefactorExtract Method
Turns a selected code fragment into a method. RAD Studio moves the extracted code outside of the current method, determines the needed parameters, generates local variables if necessary, determines the return type, and replaces the code fragment with a call to the new method.
Item |
Description |
Current Method |
Displays the name of the method in which the code fragment currently resides. |
New method name |
Specifies the name to be used for the newly extracted method. ExtractedMethod is displayed by default, but you can overtype it. |
Sample extracted code |
Displays the code that will be generated for the newly extracted method. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|