Class MoveArguments


  • public class MoveArguments
    extends RefactoringArguments
    Move arguments describe the data that a processor provides to its move participants.

    This class is not intended to be subclassed by clients.

    Since:
    3.0
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • MoveArguments

        public MoveArguments​(Object destination,
                             boolean updateReferences)
        Creates new move arguments.
        Parameters:
        destination - the destination of the move
        updateReferences - true if reference updating is requested; false otherwise
    • Method Detail

      • getDestination

        public Object getDestination()
        Returns the destination of the move
        Returns:
        the move's destination
      • getUpdateReferences

        public boolean getUpdateReferences()
        Returns whether reference updating is requested or not.
        Returns:
        returns true if reference updating is requested; false otherwise
      • 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 RefactoringArguments
        Returns:
        a debug string
        Since:
        3.2