IntelliJ IDEA
 
Get IntelliJ IDEA

Inline

Last modified: 04 December 2024

The Inline refactoring lets you reverse the Extract refactoring for a method, constructor, parameter, superclass, anonymous class, and closure (for Swift).

You can inline the pattern variable since the Java 14 version. In this case, all the occurrences will be replaced with old-style cast expression.