The super class of all refactoring implementations, representing the several phases of the refactoring process.
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.
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.
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 { .. }
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