Package org.eclipse.jdt.core.refactoring
Class RenameTypeArguments
java.lang.Object
org.eclipse.ltk.core.refactoring.participants.RefactoringArguments
org.eclipse.ltk.core.refactoring.participants.RenameArguments
org.eclipse.jdt.core.refactoring.RenameTypeArguments
public class RenameTypeArguments
extends org.eclipse.ltk.core.refactoring.participants.RenameArguments
Rename type arguments describe the data that a rename type processor
provides to its rename type participants.
This class is not intended to be subclassed by clients.
- Since:
- 1.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorsConstructorDescriptionRenameTypeArguments
(String newName, boolean updateReferences, boolean updateSimilarDeclarations, IJavaElement[] similarDeclarations) Creates new rename type arguments. -
Method Summary
Modifier and TypeMethodDescriptionReturns the similar declarations that get updated.boolean
Returns whether similar declaration updating is requested or not.toString()
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.RenameArguments
getNewName, getUpdateReferences
-
Constructor Details
-
RenameTypeArguments
public RenameTypeArguments(String newName, boolean updateReferences, boolean updateSimilarDeclarations, IJavaElement[] similarDeclarations) Creates new rename type arguments.- Parameters:
newName
- the new name of the element to be renamedupdateReferences
-true
if reference updating is requested;false
otherwiseupdateSimilarDeclarations
-true
if similar declaration updating is requested;false
otherwisesimilarDeclarations
- the similar declarations that will be updated ornull
if similar declaration updating is not requested
-
-
Method Details
-
getUpdateSimilarDeclarations
public boolean getUpdateSimilarDeclarations()Returns whether similar declaration updating is requested or not.- Returns:
- returns
true
if similar declaration updating is requested;false
otherwise
-
getSimilarDeclarations
Returns the similar declarations that get updated. Returnsnull
if similar declaration updating is not requested.- Returns:
- the similar elements that get updated
-
toString
- Overrides:
toString
in classorg.eclipse.ltk.core.refactoring.participants.RenameArguments
-