Package

scala.tools.refactoring

implementations

Permalink

package implementations

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AddField extends AddValOrDef

    Permalink
  2. abstract class AddImportStatement extends Refactoring with InteractiveScalaCompiler

    Permalink
  3. abstract class AddMethod extends AddValOrDef

    Permalink
  4. sealed trait AddMethodTarget extends AnyRef

    Permalink
  5. case class AddToClosest(offset: Int) extends AddMethodTarget with Product with Serializable

    Permalink
  6. trait AddValOrDef extends Refactoring with InteractiveScalaCompiler

    Permalink
  7. abstract class ChangeParamOrder extends MethodSignatureRefactoring

    Permalink

    Refactoring that changes the order of the parameters of a method.

  8. abstract class ClassParameterDrivenSourceGeneration extends MultiStageRefactoring with InteractiveScalaCompiler

    Permalink

    Baseclass for refactorings that generate class-level source based on the class parameters.

  9. abstract class ExpandCaseClassBinding extends MultiStageRefactoring with ParameterlessRefactoring with GlobalIndexes

    Permalink
  10. abstract class ExplicitGettersSetters extends MultiStageRefactoring with ParameterlessRefactoring with InteractiveScalaCompiler

    Permalink
  11. abstract class ExtractLocal extends MultiStageRefactoring with TreeFactory with TreeExtractors with InteractiveScalaCompiler

    Permalink
  12. abstract class ExtractMethod extends MultiStageRefactoring with TreeAnalysis with Indexes with TreeFactory with InteractiveScalaCompiler

    Permalink
  13. abstract class ExtractTrait extends MultiStageRefactoring with InteractiveScalaCompiler with Indexes with ImportsHelper

    Permalink

    Extracts members (vals, vars and defs) from a trait/class/object into a new trait.

  14. abstract class GenerateHashcodeAndEquals extends ClassParameterDrivenSourceGeneration

    Permalink

    Refactoring that generates hashCode and equals implementations following the recommendations given in chapter 28 of Programming in Scala.

  15. trait ImportsHelper extends TracingImpl

    Permalink
  16. abstract class InlineLocal extends MultiStageRefactoring with ParameterlessRefactoring with TreeFactory with Indexes with InteractiveScalaCompiler

    Permalink
  17. abstract class IntroduceProductNTrait extends GenerateHashcodeAndEquals

    Permalink

    Refactoring that implements the ProductN trait for a class.

    Refactoring that implements the ProductN trait for a class. Given N selected class parameters this refactoring generates the methods needed to implement the ProductN trait. This includes implementations for hashCode and equals.

    See also

    GenerateHashcodeAndEquals

  18. trait MarkOccurrences extends Selections with Indexes with CompilerAccess with EnrichedTrees with InteractiveScalaCompiler

    Permalink
  19. abstract class MergeParameterLists extends MethodSignatureRefactoring

    Permalink

    Refactoring to merge parameter lists of a method.

  20. abstract class MethodSignatureRefactoring extends MultiStageRefactoring with InteractiveScalaCompiler with EnrichedTrees with Indexes with TreeTraverser with PartiallyAppliedMethodsFinder

    Permalink

    Generic implementation of a refactoring that changes a method signature (i.e.

    Generic implementation of a refactoring that changes a method signature (i.e. does something with the parameters). This generic implementation tries to detect all occurrences of the selected method, this includes definitions of other methods that are partial applications of the original one (and recursively) and calls to all those methods. An concrete implementation of a method signature refactoring only has to provide the actual transformations of a definition and an application of a method.

  21. abstract class MoveClass extends MultiStageRefactoring with TreeFactory with Indexes with TreeExtractors with InteractiveScalaCompiler with CompilationUnitDependencies with ImportsHelper

    Permalink
  22. abstract class MoveConstructorToCompanionObject extends MultiStageRefactoring with ParameterlessRefactoring with InteractiveScalaCompiler with Indexes

    Permalink

    Generates an apply-method in the companion object that matches the primary constructor of the selected class.

    Generates an apply-method in the companion object that matches the primary constructor of the selected class. All calls to the primary constructor are redirected the the newly generated apply-method.

  23. abstract class OrganizeImports extends MultiStageRefactoring with TreeFactory with TreeTraverser with UnusedImportsFinder with CompilationUnitDependencies with InteractiveScalaCompiler with TreeExtractors with Formatting

    Permalink

    A refactoring that recomputes and reorganizes import statements in a file.

  24. abstract class Rename extends MultiStageRefactoring with MarkOccurrences with TreeAnalysis with Indexes with TreeFactory with InteractiveScalaCompiler

    Permalink
  25. abstract class SplitParameterLists extends MethodSignatureRefactoring

    Permalink

    Refactoring to split parameter lists of a method.

  26. trait UnusedImportsFinder extends SourceGenerator with CompilerAccess with TreeTraverser with EnrichedTrees with TracingImpl

    Permalink

Value Members

  1. object AddToClass extends AddMethodTarget with Product with Serializable

    Permalink
  2. object AddToObject extends AddMethodTarget with Product with Serializable

    Permalink
  3. object OrganizeImports

    Permalink
  4. package extraction

    Permalink
  5. package oimports

    Permalink

Ungrouped