The
Getter Replacement
action will replace direct writing access to a field of a class with an appropriate setter method.