Push Up Field

This refactoring moves a field into the parent class. If the field has permission of private or default, the permission is changed to protected. Further, this refactoring searches the source files for child classes that have a field with the same name and same type. The fields in the child classes are then automatically removed.

To push up a field, select the field with the right mouse button, select "Field Refactorings", and push up.>

Last Modified: 30 October 2003