Class RefactoringArguments

  • Direct Known Subclasses:
    CopyArguments, CreateArguments, DeleteArguments, MoveArguments, RenameArguments

    public abstract class RefactoringArguments
    extends Object
    A generic super class of all refactoring specific argument classes.

    The main purpose of this class is to not use Object in signatures. This helps to distinguish between the element to be refactored and the arguments needed to carry out the refactoring.

    This class should be subclassed by clients wishing to provide special refactoring arguments for special participants.

    Since:
    3.0
    • Constructor Detail

      • RefactoringArguments

        protected RefactoringArguments()
        Creates new refactoring arguments.
    • Method Detail

      • toString

        public String toString()
        Returns a string representation of these arguments suitable for debugging purposes only.

        Subclasses should reimplement this method.

        Overrides:
        toString in class Object
        Returns:
        a debug string
        Since:
        3.2