Merge/Unmerge If Statements

Experiment with your code without changing the semantics.

Sometimes your code can be reshaped to make it more readable. For example, you can use ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), to merge or split If Statements without changing the semantics of your code.


Related Resources

Assert That Import
Assert That Import
Use quick intentions to manage imports and keep your code compiling.
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.