Refactoring and restructuring
-
Deleting a field that had a getter and/or a setter prompts you to delete them as well.
-
Deleting a top-level class prompts you to delete the compilation unit as well.
-
To create a nested type, you can drag-and-drop (either as copy or move) one type to another.
-
You can use Override methods to implement interfaces. Select the type and do one of the following:
-
Select Override Methods from the type's pop-up menu or
-
Select Source > Override Method from the menu bar.
-
Single method parameters can be renamed like other local variables - by selecting in the editor and executing Refactor > Rename from the menu bar or
pop-up menu.
-
Getters and setters and all references to the getters and the setters can be updated when a field is renamed - to do so, select the field and execute Refactor >
Rename from the menu bar or pop-up menu.
Refactoring support

Refactoring
Copying and moving Java elements
Moving folders, packages and files

Refactoring actions
Refactoring wizard
Refactoring preferences