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
Extract Method
Extract Method
Extract code to a new method
Generate a Test Class
Generate a Test Class
Generate a new test class from your Java class