p

scala.tools

refactoring

package refactoring

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. refactoring
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class JavadocStub extends AnyRef
  2. abstract class MultiStageRefactoring extends Refactoring

    The super class of all refactoring implementations, representing the several phases of the refactoring process.

  3. trait ParameterlessRefactoring extends AnyRef

    A helper trait for refactorings that don't take RefactoringParameters.

    A helper trait for refactorings that don't take RefactoringParameters.

    With this trait, the refactoring can implement the simplified perform method.

  4. trait Refactoring extends Selections with TreeTransformations with TracingImpl with SourceGenerator with EnrichedTrees

    The Refactoring trait combines the transformation and source generation traits with their dependencies.

    The Refactoring trait combines the transformation and source generation traits with their dependencies. Refactoring is mixed in by all concrete refactorings and can be used by users of the library.

Value Members

  1. def assertCurrentThreadIsPresentationCompiler(): Unit

    Asserts that the current operation is running on the thread of the presentation compiler (PC).

    Asserts that the current operation is running on the thread of the presentation compiler (PC). This is necessary because many operations on compiler symbols can trigger further compilation, which needs to be done on the PC thread.

    To run an operation on the PC thread, use global.ask { .. }

  2. def getSimpleClassName(o: AnyRef): String

    Safe way to get a simple class name from an object.

    Safe way to get a simple class name from an object.

    Using getClass.getSimpleName can sometimes lead to InternalError("Malformed class name") being thrown, so we catch that. Probably related to #SI-2034

  3. object ScalaVersionAdapters

Inherited from AnyRef

Inherited from Any

Ungrouped