Package

scala.tools.refactoring.implementations

extraction

Permalink

package extraction

Visibility
  1. Public
  2. All

Type Members

  1. trait AutoExtractions extends MethodExtractions with ValueExtractions with ExtractorExtractions with ParameterExtractions

    Permalink
  2. abstract class ExtractCode extends MultiStageRefactoring with ExtractionRefactoring with AutoExtractions

    Permalink

    General extraction refactoring that proposes different concrete extractions based on the current selection.

  3. abstract class ExtractExtractor extends MultiStageRefactoring with ExtractionRefactoring with ExtractorExtractions

    Permalink

    Extracts patterns in case statements to new extractor objects.

  4. abstract class ExtractMethod extends MultiStageRefactoring with ExtractionRefactoring with MethodExtractions

    Permalink
  5. abstract class ExtractParameter extends MultiStageRefactoring with ExtractionRefactoring with ParameterExtractions

    Permalink
  6. abstract class ExtractValue extends MultiStageRefactoring with ExtractionRefactoring with ValueExtractions

    Permalink

    Extracts one or more expressions into a new val definition.

  7. trait ExtractionRefactoring extends MultiStageRefactoring with Extractions

    Permalink

    A supertrait for extraction refactorings.

    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.

  8. trait Extractions extends ScopeAnalysis with TransformableSelections with InsertionPositions with CompilerAccess

    Permalink

    Base trait for modules that offer a specific kind of extractions.

  9. trait ExtractorExtractions extends Extractions

    Permalink
  10. trait MethodExtractions extends Extractions with ImportAnalysis

    Permalink

    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.

  11. trait ParameterExtractions extends Extractions with ImportAnalysis

    Permalink

    Extracts an expression into a new parameter whose default value is the extracted expression.

  12. trait ValueExtractions extends Extractions with ImportAnalysis

    Permalink

Ungrouped