Inline

The
Inline Function/Method
refactoring results in placing the method's or function's body into the body of
its caller(s); the method or function is deleted.
This refactoring is opposite
Extract Method.