IntelliJ IDEA 13.1.0 Web Help

Refactor | Inline

Inline Method refactoring results in placing method's body into the body of its caller(s). You can opt to:

  • inline all occurrences of the method, and delete the method
  • inline only a single occurrence, and retain the method

Item Description
Inline all invocations and remove the method Select this radio button to replace all the method calls with its code and remove the method.
Inline this invocation only and keep the method Use this option to replace only the current method call.
Search in comments and strings Check this option to apply the changes to comments and strings.
Search for text occurrences Check this option to apply the changes to non-java files (such as documentation, HTML, JSP and other files included in the project).

See Also


Web Resources: