Convert static to instance method, Convert global to static field, C++ refactoring: convert global to static field – Slick EDIT V3.3 User Manual

Page 234

Advertising
background image

Convert Static to Instance Method

Changes a static method to an instance method and updates any references to change how the method
is accessed.

Convert Global to Static Field

Moves globally-declared variables into a static field in a class, and updates references to refer to the new
static variable.

Figure 6.45. C++ Refactoring: Convert Global to Static Field

C++ Refactoring

212

Advertising