Slick V3.3 manual Convert Static to Instance Method, Convert Global to Static Field

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 234
Image 234

C++ Refactoring

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

212

Page 234
Image 234
Slick V3.3 manual Convert Static to Instance Method, Convert Global to Static Field