Class MoveArguments
- java.lang.Object
-
- org.eclipse.ltk.core.refactoring.participants.RefactoringArguments
-
- org.eclipse.ltk.core.refactoring.participants.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 Summary
Constructors Constructor Description MoveArguments(Object destination, boolean updateReferences)Creates new move arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDestination()Returns the destination of the movebooleangetUpdateReferences()Returns whether reference updating is requested or not.StringtoString()Returns a string representation of these arguments suitable for debugging purposes only.
-
-
-
Constructor Detail
-
MoveArguments
public MoveArguments(Object destination, boolean updateReferences)
Creates new move arguments.- Parameters:
destination- the destination of the moveupdateReferences-trueif reference updating is requested;falseotherwise
-
-
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
trueif reference updating is requested;falseotherwise
-
toString
public String toString()
Returns a string representation of these arguments suitable for debugging purposes only.Subclasses should reimplement this method.
- Overrides:
toStringin classRefactoringArguments- Returns:
- a debug string
- Since:
- 3.2
-
-