The Inline Method refactoring replaces method caller(s) with a method body.
You can opt to:
In order to invoke the refactoring, move the cursor over the method caller and press &shortcut:Inline; (Refactor | Inline... ):
This will result in the following: