Interface Summary Interface Description CtRefactoringDefines basic contract of all refactoring implementations.
Contract: to process a required refactoring.
CtRenameRefactoring<T extends CtNamedElement>The kind of refactoring, which renames a `target` element to the `newName`
Class Summary Class Description AbstractRenameRefactoring<T extends CtNamedElement>abstract implementation of rename element refactoring CtDeprecatedRefactoring CtParameterRemoveRefactoring CtRenameGenericVariableRefactoringSpoon model that can refactor any type of variable (method parameters, local variables, field variables. CtRenameLocalVariableRefactoringSpoon model refactoring function which renames `target` local variable to `newName`
This refactoring will throw
RefactoringExceptionif the model would be not consistent after rename to new name.
MethodCallStateThis class is for the call state of a method. MethodInvocationSearchClass for creating a mapping from CtExecutable to all known calls from fields and methods. RefactoringContains all methods to refactor code elements in the AST.
Exception Summary Exception Description RefactoringExceptionThrown when required refactoring would cause model inconsistency