| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <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.75 [en] (Windows NT 5.0; U) [Netscape]"> |
| <title> |
| Changing method signature |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| |
| <h1> Changing method signature</h1> |
| In addition to renaming a method, you can change other parts of the method's |
| signature. |
| <ul> |
| <li>Select the method in a Java view (e.g. Outline, Package Explorer, Members). |
| </li> |
| <li> Do one of the following to open the Change Method Signature refactoring dialog: |
| <ul> |
| <li> From the menu bar, select <strong>Refactor > Change Method Signature</strong> |
| or </li> |
| <li> From the method's pop-up menu, select <strong>Refactor > </strong><strong>Change |
| Method Signature</strong></li> |
| </ul> |
| </li> |
| </ul> |
| <p> |
| <img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159"> <br> |
| <a href="../concepts/concepts-1.htm">Java development tools (JDT)</a> |
| </p> |
| <p> |
| <img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159"><br> |
| <a href="tasks-96.htm">Renaming a method</a> |
| </p> |
| <p> |
| <img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><br> |
| <a href="../reference/ref-menu-refactor.htm">Refactoring actions</a><br> |
| <a href="../reference/ref-117.htm">Refactoring dialogs</a><br> |
| <a href="../reference/ref-23.htm">Refactoring preferences</a> |
| </p> |
| <p> |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" height="14" width="324"></a> |
| </p> |
| </body> |
| </html> |
| |