Inline

Last modified: 11 February 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.