In the Explorer, you can copy and paste whole methods and fields between classes. If you copy and paste methods and fields in the Explorer, the IDE ensures that the code gets cleanly reformatted in the Source Editor.