Add Overload Bool

Refactor a method to change its signature and update your code to reflect the new 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

Migrating from the `javax` to `jakarta` namespace
Migrating from the `javax` to `jakarta` namespace
How to transition your application from Java EE to Jakarta EE.
Extract Method
Extract Method
Extract code to a new method.
Inline Variable
Inline Variable
Sometimes inlining a variable can make your code more readable.