Parameters page
-
In the Method name field, type a
name for the new method that will be extracted.
-
In the Access Modifier list, specify
the method's visibility (public, default, protected, or private).
-
You can Add thrown runtime exceptions to method
signature by selecting the corresponding checkbox.
-
Click Next to perform a quick refactoring,
or click Finish to perform a controlled
refactoring.