package refactoring
- Alphabetic
- By Inheritance
- refactoring
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class JavadocStub extends AnyRef
-
abstract
class
MultiStageRefactoring
extends Refactoring
The super class of all refactoring implementations, representing the several phases of the refactoring process.
-
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.
-
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
-
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 { .. }
-
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
- object ScalaVersionAdapters