Class RefactoringArguments

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

    public abstract class RefactoringArguments
    extends java.lang.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 Summary

      Constructors 
      Modifier Constructor Description
      protected RefactoringArguments()
      Creates new refactoring arguments.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a string representation of these arguments suitable for debugging purposes only.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RefactoringArguments

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

      • toString

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

        Subclasses should reimplement this method.

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