| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <meta name="GENERATOR" content="Mozilla/4.76 [en] (Windows NT 5.0; U) [Netscape]"> |
| <title> |
| Parameters page |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| Parameters page |
| </h1> |
| <img src="../images/tasks-27.png" alt="Parameters page of the Extract Method refactoring dialog"> |
| <p> |
| Extract Method Parameters Page |
| </p> |
| |
| <ul> |
| <li> In the <strong>Method name</strong> field, type a name for the new method |
| that will be extracted. </li> |
| <li> In the <strong>Access Modifier</strong> list, specify the method's visibility |
| (public, default, protected, or private). </li> |
| <li> You can <strong>Add thrown runtime exceptions to method signature</strong> |
| by selecting the corresponding checkbox. </li> |
| <li> You can <strong>Generate method comment</strong> |
| by selecting the corresponding checkbox. </li> |
| <li>You can rearrange and rename the parameters for the new method.</li> |
| <li> Click <strong>OK</strong> to perform a quick refactoring, or click <strong>Preview</strong> |
| to perform a controlled refactoring. </li> |
| </ul> |
| <p> |
| Related Topics: |
| </p> |
| <ul> |
| <li> |
| <a href="tasks-82.htm">See Refactoring without Preview</a> |
| </li> |
| <li> |
| <a href="tasks-83.htm">See Refactoring with Preview</a> |
| </li> |
| </ul> |
| |
| </body> |
| </html> |
| |