public class RenameTypeArguments
extends RenameArguments
This class is not intended to be subclassed by clients.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.Constructor and Description |
---|
RenameTypeArguments(java.lang.String newName,
boolean updateReferences,
boolean updateSimilarDeclarations,
IJavaScriptElement[] similarDeclarations)
Creates new rename type arguments.
|
Modifier and Type | Method and Description |
---|---|
IJavaScriptElement[] |
getSimilarDeclarations()
Returns the similar declarations that get updated.
|
boolean |
getUpdateSimilarDeclarations()
Returns whether similar declaration updating is requested or not.
|
java.lang.String |
toString() |
public RenameTypeArguments(java.lang.String newName, boolean updateReferences, boolean updateSimilarDeclarations, IJavaScriptElement[] 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 IJavaScriptElement[] getSimilarDeclarations()
null
if similar declaration updating is not
requested.public java.lang.String toString()
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.