IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Inline Method

Last modified: 10 August 2022

Refactor | Inline

Inline Method refactoring places method's body into the body of its caller(s). You have the option to:

  • inline all occurrences of the method, and delete the method

  • inline only a single occurrence, and retain the method