Copyright (c) 2006, 2008 IBM Corporation and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0 Contributors: IBM Corporation - initial API and implementation
/******************************************************************************* * Copyright (c) 2006, 2008 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/
package org.eclipse.jdt.core.refactoring; import org.eclipse.ltk.core.refactoring.PerformRefactoringOperation; import org.eclipse.ltk.core.refactoring.RefactoringContribution; import org.eclipse.ltk.core.refactoring.RefactoringCore; import org.eclipse.jdt.core.refactoring.descriptors.ChangeMethodSignatureDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ConvertAnonymousDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ConvertLocalVariableDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ConvertMemberTypeDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.CopyDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.DeleteDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.EncapsulateFieldDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ExtractClassDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ExtractConstantDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ExtractInterfaceDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ExtractLocalDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ExtractMethodDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.ExtractSuperclassDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.GeneralizeTypeDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.InferTypeArgumentsDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.InlineConstantDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.InlineLocalVariableDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.InlineMethodDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.IntroduceFactoryDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.IntroduceIndirectionDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.IntroduceParameterDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.IntroduceParameterObjectDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.MoveDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.MoveMethodDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.MoveStaticMembersDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.PullUpDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.PushDownDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.RenameJavaElementDescriptor; import org.eclipse.jdt.core.refactoring.descriptors.UseSupertypeDescriptor;
Interface for refactoring ids offered by the JDT tooling.

This interface provides refactoring ids for refactorings offered by the JDT tooling. Refactoring instances corresponding to such an id may be instantiated by the refactoring framework using RefactoringCore.getRefactoringContribution(String). The resulting refactoring instance may be executed on the workspace with a PerformRefactoringOperation.

Clients may obtain customizable refactoring descriptors for a certain refactoring by calling RefactoringCore.getRefactoringContribution(String) with the appropriate refactoring id and then calling RefactoringContribution.createDescriptor() to obtain a customizable refactoring descriptor. The concrete subtype of refactoring descriptors is dependent from the id argument.

Note: this interface is not intended to be implemented by clients.

Since:1.1
@noimplementThis interface is not intended to be implemented by clients.
@noextendThis interface is not intended to be extended by clients.
/** * Interface for refactoring ids offered by the JDT tooling. * <p> * This interface provides refactoring ids for refactorings offered by the JDT * tooling. Refactoring instances corresponding to such an id may be * instantiated by the refactoring framework using * {@link RefactoringCore#getRefactoringContribution(String)}. The resulting * refactoring instance may be executed on the workspace with a * {@link PerformRefactoringOperation}. * <p> * Clients may obtain customizable refactoring descriptors for a certain * refactoring by calling * {@link RefactoringCore#getRefactoringContribution(String)} with the * appropriate refactoring id and then calling * {@link RefactoringContribution#createDescriptor()} to obtain a customizable * refactoring descriptor. The concrete subtype of refactoring descriptors is * dependent from the <code>id</code> argument. * </p> * <p> * Note: this interface is not intended to be implemented by clients. * </p> * * @since 1.1 * @noimplement This interface is not intended to be implemented by clients. * @noextend This interface is not intended to be extended by clients. */
public interface IJavaRefactorings {
Refactoring id of the 'Change Method Signature' refactoring (value: org.eclipse.jdt.ui.change.method.signature).

Clients may safely cast the obtained refactoring descriptor to ChangeMethodSignatureDescriptor.

/** * Refactoring id of the 'Change Method Signature' refactoring (value: * <code>org.eclipse.jdt.ui.change.method.signature</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ChangeMethodSignatureDescriptor}. * </p> */
public static final String CHANGE_METHOD_SIGNATURE= "org.eclipse.jdt.ui.change.method.signature"; //$NON-NLS-1$
Refactoring id of the 'Convert Anonymous To Nested' refactoring (value: org.eclipse.jdt.ui.convert.anonymous).

Clients may safely cast the obtained refactoring descriptor to ConvertAnonymousDescriptor.

/** * Refactoring id of the 'Convert Anonymous To Nested' refactoring (value: * <code>org.eclipse.jdt.ui.convert.anonymous</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ConvertAnonymousDescriptor}. * </p> */
public static final String CONVERT_ANONYMOUS= "org.eclipse.jdt.ui.convert.anonymous"; //$NON-NLS-1$
Refactoring id of the 'Convert Local Variable to Field' refactoring (value: org.eclipse.jdt.ui.promote.temp).

Clients may safely cast the obtained refactoring descriptor to ConvertLocalVariableDescriptor.

/** * Refactoring id of the 'Convert Local Variable to Field' refactoring * (value: <code>org.eclipse.jdt.ui.promote.temp</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ConvertLocalVariableDescriptor}. * </p> */
public static final String CONVERT_LOCAL_VARIABLE= "org.eclipse.jdt.ui.promote.temp"; //$NON-NLS-1$
Refactoring id of the 'Convert Member Type to Top Level' refactoring (value: org.eclipse.jdt.ui.move.inner).

Clients may safely cast the obtained refactoring descriptor to ConvertMemberTypeDescriptor.

/** * Refactoring id of the 'Convert Member Type to Top Level' refactoring * (value: <code>org.eclipse.jdt.ui.move.inner</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ConvertMemberTypeDescriptor}. * </p> */
public static final String CONVERT_MEMBER_TYPE= "org.eclipse.jdt.ui.move.inner"; //$NON-NLS-1$
Refactoring id of the 'Copy' refactoring (value: org.eclipse.jdt.ui.copy).

Clients may safely cast the obtained refactoring descriptor to CopyDescriptor.

/** * Refactoring id of the 'Copy' refactoring (value: * <code>org.eclipse.jdt.ui.copy</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link CopyDescriptor}. * </p> */
public static final String COPY= "org.eclipse.jdt.ui.copy"; //$NON-NLS-1$
Refactoring id of the 'Delete' refactoring (value: org.eclipse.jdt.ui.delete).

Clients may safely cast the obtained refactoring descriptor to DeleteDescriptor.

/** * Refactoring id of the 'Delete' refactoring (value: * <code>org.eclipse.jdt.ui.delete</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link DeleteDescriptor}. * </p> */
public static final String DELETE= "org.eclipse.jdt.ui.delete"; //$NON-NLS-1$
Refactoring id of the 'Encapsulate Field' refactoring (value: org.eclipse.jdt.ui.self.encapsulate).

Clients may safely cast the obtained refactoring descriptor to EncapsulateFieldDescriptor.

/** * Refactoring id of the 'Encapsulate Field' refactoring (value: * <code>org.eclipse.jdt.ui.self.encapsulate</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link EncapsulateFieldDescriptor}. * </p> */
public static final String ENCAPSULATE_FIELD= "org.eclipse.jdt.ui.self.encapsulate"; //$NON-NLS-1$
Refactoring id of the 'Extract Class' refactoring (value: "org.eclipse.jdt.ui.extract.class).

Clients may safely cast the obtained refactoring descriptor to ExtractClassDescriptor.

Since:1.2
/** * Refactoring id of the 'Extract Class' refactoring (value: * <code>"org.eclipse.jdt.ui.extract.class</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ExtractClassDescriptor}. * </p> * * @since 1.2 */
public static final String EXTRACT_CLASS= "org.eclipse.jdt.ui.extract.class"; //$NON-NLS-1$
Refactoring id of the 'Extract Constant' refactoring (value: org.eclipse.jdt.ui.extract.constant).

Clients may safely cast the obtained refactoring descriptor to ExtractConstantDescriptor.

/** * Refactoring id of the 'Extract Constant' refactoring (value: * <code>org.eclipse.jdt.ui.extract.constant</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ExtractConstantDescriptor}. * </p> */
public static final String EXTRACT_CONSTANT= "org.eclipse.jdt.ui.extract.constant"; //$NON-NLS-1$
Refactoring id of the 'Extract Interface' refactoring (value: org.eclipse.jdt.ui.extract.interface).

Clients may safely cast the obtained refactoring descriptor to ExtractInterfaceDescriptor.

/** * Refactoring id of the 'Extract Interface' refactoring (value: * <code>org.eclipse.jdt.ui.extract.interface</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ExtractInterfaceDescriptor}. * </p> */
public static final String EXTRACT_INTERFACE= "org.eclipse.jdt.ui.extract.interface"; //$NON-NLS-1$
Refactoring id of the 'Extract Local Variable' refactoring (value: org.eclipse.jdt.ui.extract.temp).

Clients may safely cast the obtained refactoring descriptor to ExtractLocalDescriptor.

/** * Refactoring id of the 'Extract Local Variable' refactoring (value: * <code>org.eclipse.jdt.ui.extract.temp</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ExtractLocalDescriptor}. * </p> */
public static final String EXTRACT_LOCAL_VARIABLE= "org.eclipse.jdt.ui.extract.temp"; //$NON-NLS-1$
Refactoring id of the 'Extract Method' refactoring (value: org.eclipse.jdt.ui.extract.method).

Clients may safely cast the obtained refactoring descriptor to ExtractMethodDescriptor.

/** * Refactoring id of the 'Extract Method' refactoring (value: * <code>org.eclipse.jdt.ui.extract.method</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ExtractMethodDescriptor}. * </p> */
public static final String EXTRACT_METHOD= "org.eclipse.jdt.ui.extract.method"; //$NON-NLS-1$
Refactoring id of the 'Extract Superclass' refactoring (value: org.eclipse.jdt.ui.extract.superclass).

Clients may safely cast the obtained refactoring descriptor to ExtractSuperclassDescriptor.

/** * Refactoring id of the 'Extract Superclass' refactoring (value: * <code>org.eclipse.jdt.ui.extract.superclass</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link ExtractSuperclassDescriptor}. * </p> */
public static final String EXTRACT_SUPERCLASS= "org.eclipse.jdt.ui.extract.superclass"; //$NON-NLS-1$
Refactoring id of the 'Generalize Declared Type' refactoring (value: org.eclipse.jdt.ui.change.type).

Clients may safely cast the obtained refactoring descriptor to GeneralizeTypeDescriptor.

/** * Refactoring id of the 'Generalize Declared Type' refactoring (value: * <code>org.eclipse.jdt.ui.change.type</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link GeneralizeTypeDescriptor}. * </p> */
public static final String GENERALIZE_TYPE= "org.eclipse.jdt.ui.change.type"; //$NON-NLS-1$
Refactoring id of the 'Infer Type Arguments' refactoring (value: org.eclipse.jdt.ui.infer.typearguments).

Clients may safely cast the obtained refactoring descriptor to InferTypeArgumentsDescriptor.

/** * Refactoring id of the 'Infer Type Arguments' refactoring (value: * <code>org.eclipse.jdt.ui.infer.typearguments</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link InferTypeArgumentsDescriptor}. * </p> */
public static final String INFER_TYPE_ARGUMENTS= "org.eclipse.jdt.ui.infer.typearguments"; //$NON-NLS-1$
Refactoring id of the 'Inline Constant' refactoring (value: org.eclipse.jdt.ui.inline.constant).

Clients may safely cast the obtained refactoring descriptor to InlineConstantDescriptor.

/** * Refactoring id of the 'Inline Constant' refactoring (value: * <code>org.eclipse.jdt.ui.inline.constant</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link InlineConstantDescriptor}. * </p> */
public static final String INLINE_CONSTANT= "org.eclipse.jdt.ui.inline.constant"; //$NON-NLS-1$
Refactoring id of the 'Inline Local Variable' refactoring (value: org.eclipse.jdt.ui.inline.temp).

Clients may safely cast the obtained refactoring descriptor to InlineLocalVariableDescriptor.

/** * Refactoring id of the 'Inline Local Variable' refactoring (value: * <code>org.eclipse.jdt.ui.inline.temp</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link InlineLocalVariableDescriptor}. * </p> */
public static final String INLINE_LOCAL_VARIABLE= "org.eclipse.jdt.ui.inline.temp"; //$NON-NLS-1$
Refactoring id of the 'Inline Method' refactoring (value: org.eclipse.jdt.ui.inline.method).

Clients may safely cast the obtained refactoring descriptor to InlineMethodDescriptor.

/** * Refactoring id of the 'Inline Method' refactoring (value: * <code>org.eclipse.jdt.ui.inline.method</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link InlineMethodDescriptor}. * </p> */
public static final String INLINE_METHOD= "org.eclipse.jdt.ui.inline.method"; //$NON-NLS-1$
Refactoring id of the 'Introduce Factory' refactoring (value: org.eclipse.jdt.ui.introduce.factory).

Clients may safely cast the obtained refactoring descriptor to IntroduceFactoryDescriptor.

/** * Refactoring id of the 'Introduce Factory' refactoring (value: * <code>org.eclipse.jdt.ui.introduce.factory</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link IntroduceFactoryDescriptor}. * </p> */
public static final String INTRODUCE_FACTORY= "org.eclipse.jdt.ui.introduce.factory"; //$NON-NLS-1$
Refactoring id of the 'Introduce Indirection' refactoring (value: org.eclipse.jdt.ui.introduce.indirection).

Clients may safely cast the obtained refactoring descriptor to IntroduceIndirectionDescriptor.

/** * Refactoring id of the 'Introduce Indirection' refactoring (value: * <code>org.eclipse.jdt.ui.introduce.indirection</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link IntroduceIndirectionDescriptor}. * </p> */
public static final String INTRODUCE_INDIRECTION= "org.eclipse.jdt.ui.introduce.indirection"; //$NON-NLS-1$
Refactoring id of the 'Introduce Parameter' refactoring (value: org.eclipse.jdt.ui.introduce.parameter).

Clients may safely cast the obtained refactoring descriptor to IntroduceParameterDescriptor.

/** * Refactoring id of the 'Introduce Parameter' refactoring (value: * <code>org.eclipse.jdt.ui.introduce.parameter</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link IntroduceParameterDescriptor}. * </p> */
public static final String INTRODUCE_PARAMETER= "org.eclipse.jdt.ui.introduce.parameter"; //$NON-NLS-1$
Refactoring id of the 'Introduce Parameter Object' refactoring (value: org.eclipse.jdt.ui.introduce.parameter.object).

Clients may safely cast the obtained refactoring descriptor to IntroduceParameterObjectDescriptor.

Since:1.2
/** * Refactoring id of the 'Introduce Parameter Object' refactoring (value: * <code>org.eclipse.jdt.ui.introduce.parameter.object</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link IntroduceParameterObjectDescriptor}. * </p> * @since 1.2 */
public static final String INTRODUCE_PARAMETER_OBJECT= "org.eclipse.jdt.ui.introduce.parameter.object"; //$NON-NLS-1$
Refactoring id of the 'Move' refactoring (value: org.eclipse.jdt.ui.move).

Clients may safely cast the obtained refactoring descriptor to MoveDescriptor.

/** * Refactoring id of the 'Move' refactoring (value: * <code>org.eclipse.jdt.ui.move</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link MoveDescriptor}. * </p> */
public static final String MOVE= "org.eclipse.jdt.ui.move"; //$NON-NLS-1$
Refactoring id of the 'Move Method' refactoring (value: org.eclipse.jdt.ui.move.method).

Clients may safely cast the obtained refactoring descriptor to MoveMethodDescriptor.

/** * Refactoring id of the 'Move Method' refactoring (value: * <code>org.eclipse.jdt.ui.move.method</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link MoveMethodDescriptor}. * </p> */
public static final String MOVE_METHOD= "org.eclipse.jdt.ui.move.method"; //$NON-NLS-1$
Refactoring id of the 'Move Static Members' refactoring (value: org.eclipse.jdt.ui.move.static).

Clients may safely cast the obtained refactoring descriptor to MoveStaticMembersDescriptor.

/** * Refactoring id of the 'Move Static Members' refactoring (value: * <code>org.eclipse.jdt.ui.move.static</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link MoveStaticMembersDescriptor}. * </p> */
public static final String MOVE_STATIC_MEMBERS= "org.eclipse.jdt.ui.move.static"; //$NON-NLS-1$
Refactoring id of the 'Pull Up' refactoring (value: org.eclipse.jdt.ui.pull.up).

Clients may safely cast the obtained refactoring descriptor to PullUpDescriptor.

/** * Refactoring id of the 'Pull Up' refactoring (value: * <code>org.eclipse.jdt.ui.pull.up</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link PullUpDescriptor}. * </p> */
public static final String PULL_UP= "org.eclipse.jdt.ui.pull.up"; //$NON-NLS-1$
Refactoring id of the 'Push Down' refactoring (value: org.eclipse.jdt.ui.push.down).

Clients may safely cast the obtained refactoring descriptor to PushDownDescriptor.

/** * Refactoring id of the 'Push Down' refactoring (value: * <code>org.eclipse.jdt.ui.push.down</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link PushDownDescriptor}. * </p> */
public static final String PUSH_DOWN= "org.eclipse.jdt.ui.push.down"; //$NON-NLS-1$
Refactoring id of the 'Rename Compilation Unit' refactoring (value: org.eclipse.jdt.ui.rename.compilationunit).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Compilation Unit' refactoring (value: * <code>org.eclipse.jdt.ui.rename.compilationunit</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_COMPILATION_UNIT= "org.eclipse.jdt.ui.rename.compilationunit"; //$NON-NLS-1$
Refactoring id of the 'Rename Enum Constant' refactoring (value: org.eclipse.jdt.ui.rename.enum.constant).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Enum Constant' refactoring (value: * <code>org.eclipse.jdt.ui.rename.enum.constant</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_ENUM_CONSTANT= "org.eclipse.jdt.ui.rename.enum.constant"; //$NON-NLS-1$
Refactoring id of the 'Rename Field' refactoring (value: org.eclipse.jdt.ui.rename.field).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Field' refactoring (value: * <code>org.eclipse.jdt.ui.rename.field</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_FIELD= "org.eclipse.jdt.ui.rename.field"; //$NON-NLS-1$
Refactoring id of the 'Rename Java Project' refactoring (value: org.eclipse.jdt.ui.rename.java.project).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Java Project' refactoring (value: * <code>org.eclipse.jdt.ui.rename.java.project</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_JAVA_PROJECT= "org.eclipse.jdt.ui.rename.java.project"; //$NON-NLS-1$
Refactoring id of the 'Rename Local Variable' refactoring (value: org.eclipse.jdt.ui.rename.local.variable).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Local Variable' refactoring (value: * <code>org.eclipse.jdt.ui.rename.local.variable</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_LOCAL_VARIABLE= "org.eclipse.jdt.ui.rename.local.variable"; //$NON-NLS-1$
Refactoring id of the 'Rename Method' refactoring (value: org.eclipse.jdt.ui.rename.method).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Method' refactoring (value: * <code>org.eclipse.jdt.ui.rename.method</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_METHOD= "org.eclipse.jdt.ui.rename.method"; //$NON-NLS-1$
Refactoring id of the 'Rename Package' refactoring (value: org.eclipse.jdt.ui.rename.package).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Package' refactoring (value: * <code>org.eclipse.jdt.ui.rename.package</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_PACKAGE= "org.eclipse.jdt.ui.rename.package"; //$NON-NLS-1$
Refactoring id of the 'Rename Resource' refactoring (value: org.eclipse.jdt.ui.rename.resource).

Clients may safely cast the obtained refactoring descriptor to RenameResourceDescriptor.

Deprecated:Since 1.2. Use RenameResourceDescriptor.ID instead.
/** * Refactoring id of the 'Rename Resource' refactoring (value: * <code>org.eclipse.jdt.ui.rename.resource</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link org.eclipse.jdt.core.refactoring.descriptors.RenameResourceDescriptor}. * </p> * @deprecated Since 1.2. Use {@link org.eclipse.ltk.core.refactoring.resource.RenameResourceDescriptor#ID} instead. */
@Deprecated public static final String RENAME_RESOURCE= "org.eclipse.jdt.ui.rename.resource"; //$NON-NLS-1$
Refactoring id of the 'Rename Source Folder' refactoring (value: org.eclipse.jdt.ui.rename.source.folder).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Source Folder' refactoring (value: * <code>org.eclipse.jdt.ui.rename.source.folder</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_SOURCE_FOLDER= "org.eclipse.jdt.ui.rename.source.folder"; //$NON-NLS-1$
Refactoring id of the 'Rename Type' refactoring (value: org.eclipse.jdt.ui.rename.type).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Type' refactoring (value: * <code>org.eclipse.jdt.ui.rename.type</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_TYPE= "org.eclipse.jdt.ui.rename.type"; //$NON-NLS-1$
Refactoring id of the 'Rename Type Parameter' refactoring (value: org.eclipse.jdt.ui.rename.type.parameter).

Clients may safely cast the obtained refactoring descriptor to RenameJavaElementDescriptor.

/** * Refactoring id of the 'Rename Type Parameter' refactoring (value: * <code>org.eclipse.jdt.ui.rename.type.parameter</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link RenameJavaElementDescriptor}. * </p> */
public static final String RENAME_TYPE_PARAMETER= "org.eclipse.jdt.ui.rename.type.parameter"; //$NON-NLS-1$
Refactoring id of the 'Use Supertype Where Possible' refactoring (value: org.eclipse.jdt.ui.use.supertype).

Clients may safely cast the obtained refactoring descriptor to UseSupertypeDescriptor.

/** * Refactoring id of the 'Use Supertype Where Possible' refactoring (value: * <code>org.eclipse.jdt.ui.use.supertype</code>). * <p> * Clients may safely cast the obtained refactoring descriptor to * {@link UseSupertypeDescriptor}. * </p> */
public static final String USE_SUPER_TYPE= "org.eclipse.jdt.ui.use.supertype"; //$NON-NLS-1$ }