Class MoveArguments
java.lang.Object
org.eclipse.ltk.core.refactoring.participants.RefactoringArguments
org.eclipse.ltk.core.refactoring.participants.MoveArguments
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 Summary
ConstructorDescriptionMoveArguments
(Object destination, boolean updateReferences) Creates new move arguments. -
Method Summary
Modifier and TypeMethodDescriptionReturns the destination of the moveboolean
Returns whether reference updating is requested or not.toString()
Returns a string representation of these arguments suitable for debugging purposes only.
-
Constructor Details
-
MoveArguments
Creates new move arguments.- Parameters:
destination
- the destination of the moveupdateReferences
-true
if reference updating is requested;false
otherwise
-
-
Method Details
-
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
Returns a string representation of these arguments suitable for debugging purposes only.Subclasses should reimplement this method.
- Overrides:
toString
in classRefactoringArguments
- Returns:
- a debug string
- Since:
- 3.2
-