Renaming Methods

You can change the name of an existing user-defined method in the current schema. (You cannot rename system methods.)

To rename a user-defined method

  1. In the Methods List of the Class Browser, Primitive Types Browser, or Interface Browser, select the method that you want to rename.

  2. Select the Rename command from the Methods menu. The Rename Method dialog is then displayed.

  3. In the New Name text box, specify the new name for your selected method.

    The name must start with a lowercase character and must be unique to the class, primitive type, or interface to which it belongs.

    This dialog enables you to change only the name of the method. You cannot modify parameters, the return type, or options.

  4. Click the OK button.

    Alternatively, click the Cancel button to abandon the operation.

When a method is renamed, JADE performs the following actions.

For details about renaming a method selected within the body of a method in the editor pane, see "Renaming or Changing an Entity", later in this chapter.