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
In the Methods List of the Class Browser, Primitive Types Browser, or Interface Browser, select the method that you want to rename.
Select the Rename command from the Methods menu. The Rename Method dialog is then displayed.
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.
Click the OK button.
Alternatively, click the Cancel button to abandon the operation.
When a method is renamed, JADE performs the following actions.
Replaces all references with the new name in all methods that referenced the old name.
The method name replacement may not be successful in methods that are in error.
Recompiles all methods with references to the old method name.
Renaming a control event method automatically renames all event implementations.
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.