General extraction refactoring that proposes different concrete extractions based on the current selection.
Extracts patterns in case statements to new extractor objects.
Extracts one or more expressions into a new val definition.
A supertrait for extraction refactorings.
Base trait for modules that offer a specific kind of extractions.
Extracts one or more expressions into a new method.
Extracts one or more expressions into a new method. Each inbound dependency to the extracted code that is not accessible from the target scope becomes a parameter to the new method.
Extracts an expression into a new parameter whose default value is the extracted expression.
A supertrait for extraction refactorings.
Subclasses of this trait are only adapters that implement the MultiStageRefactoring interface. The refactoring logic itself is provided by
Extractions
.An extraction refactoring computes in the preparation phase a list of possible extractions based on the current selection.