Inline Method refactoring

The Inline Method refactoring replaces method callers with a method body. You can opt to:

To invoke the refactoring, move the cursor over the method caller and press &shortcut:Inline; (Refactor | Inline):

Inline method