Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.core.refactoring
Class RenameTypeArguments

java.lang.Object
  extended by 

org.eclipse.ltk.core.refactoring.participants.RefactoringArguments
      extended by 

org.eclipse.ltk.core.refactoring.participants.RenameArguments
          extended by 
org.eclipse.jdt.core.refactoring.RenameTypeArguments

public class RenameTypeArguments
extends 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
RenameTypeArguments ( String newName, boolean updateReferences, boolean updateSimilarDeclarations, IJavaElement[] similarDeclarations)
          Creates new rename type arguments.
 
Method Summary
  IJavaElement[] getSimilarDeclarations ()
          Returns the similar declarations that get updated.
 boolean getUpdateSimilarDeclarations ()
          Returns whether similar declaration updating is requested or not.
  String toString ()
           
 
Methods inherited from class org.eclipse.ltk.core.refactoring.participants. RenameArguments
getNewName, getUpdateReferences
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 renamed
updateReferences - true if reference updating is requested; false otherwise
updateSimilarDeclarations - true if similar declaration updating is requested; false otherwise
similarDeclarations - the similar declarations that will be updated or null if similar declaration updating is not requested
Method Detail

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

public 
IJavaElement[] getSimilarDeclarations()
Returns the similar declarations that get updated. Returns null if similar declaration updating is not requested.

Returns:
the similar elements that get updated

toString

public 
String toString()
Overrides:
toString in class RenameArguments

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire