blob: 7d6044553a61115f0f63003a9a50b20217c2164a [file] [log] [blame]
<!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">
<title>
Parameters page
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Parameters page
</h1>
<h1>
<img src="../images/tasks-32.png" alt="Parameters Page for the Reordering method parameters Refactoring Command">
</h1>
<p> Parameters Page for the Change Method Signature Refactoring Command </p>
<ul>
<li>Use the Access Modifier drop-down to control the method's visibility</li>
<li>Change the method's return type or name by editing the provided text fields</li>
<li>Select one or more parameters and use the <strong>Up</strong> and <strong>Down</strong>
buttons to reorder the parameters (you can see a signature preview below the
parameter list) </li>
<li>Use the <b>Add</b> button to add a parameter; you can then edit its type,
name and default value in the table</li>
<li>Switch to the <b>Exceptions</b> tab to add or remove thrown exceptions</li>
<li> Press <strong>Preview</strong> to see the preview or <strong>OK</strong>
to perform the refactoring without seeing the preview </li>
</ul>
<p> This refactoring changes the signature of the selected method and all methods
that override it.<br>
Also, all references will be updated to use the signature. </p>
<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>