Interface CtRenameRefactoring<T extends CtNamedElement>

    • Method Detail

      • getTarget

        T getTarget()
        Returns:
        target model element, which has to be refactored.
      • setTarget

        CtRenameRefactoring<T> setTarget​(T target)
        Parameters:
        target - the model element, which has to be refactored.
        Returns:
        this to support fluent API
      • getNewName

        java.lang.String getNewName()
        Returns:
        the required name of the `target` model element
      • setNewName

        CtRenameRefactoring<T> setNewName​(java.lang.String newName)
        Parameters:
        newName - the required name of the `target` model element
        Returns:
        this to support fluent API