public class RenameTypeArguments extends RenameArguments
This class is not intended to be subclassed by clients.
Constructor and Description |
---|
RenameTypeArguments(String newName,
boolean updateReferences,
boolean updateSimilarDeclarations,
IJavaElement[] similarDeclarations)
Creates new rename type arguments.
|
Modifier and Type | Method and Description |
---|---|
IJavaElement[] |
getSimilarDeclarations()
Returns the similar declarations that get updated.
|
boolean |
getUpdateSimilarDeclarations()
Returns whether similar declaration updating is requested or not.
|
String |
toString() |
getNewName, getUpdateReferences
public RenameTypeArguments(String newName, boolean updateReferences, boolean updateSimilarDeclarations, IJavaElement[] similarDeclarations)
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 or null
if similar declaration updating is
not requestedpublic boolean getUpdateSimilarDeclarations()
true
if similar declaration
updating is requested; false
otherwisepublic IJavaElement[] getSimilarDeclarations()
null
if similar declaration updating is not
requested.public String toString()
toString
in class RenameArguments
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.