Add Overload Bool

You can refactor a method to change its signature

You can use ⇧F6 (macOS) / Shift+F6 (Windows/Linux) to change the signature of a method and add a new boolean parameter to it. You can then select Delegate via overloading method to complete the refactor.

Related Resources

Extract Method
Extract code to a new method
Inline Variable
Inline a variable in your code
Introduce variable
Refactor your code and introduce a new variable