Extract Class Dialog
Refactor | Extract | Delegate
On how to extract into class, refer to the extract delegate refactoring section.
Use this page to specify the settings for the extract delegate refactoring.
Item | Description |
---|---|
Name for new class | Specify the name of the class to be created. If you want to define a class within the existing one, select the Create nested class option. |
Package name | Specify the name of the destination package for the new class. |
Target destination directory | Specify the directory for the class you are defining. |
Members to extract | Select the fields and methods to be extracted to the new class. IntelliJ IDEA can also generate getters if you select the Generate accessors option. |
Visibility | Select the visibility level for the members you are extracting. You can select from the following options:
|
Thanks for your feedback!