Inline Method refactoring
The Inline Method refactoring replaces method callers with a method body. You can opt to:
Inline all occurrences of the method, and delete the method
Inline only a single occurrence, and retain the method
To invoke the refactoring, move the cursor over the method caller and press &shortcut:Inline; (Refactor | Inline):
