KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > core > refactoring > descriptors > MoveMethodDescriptor


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.core.refactoring.descriptors;
12
13 import org.eclipse.ltk.core.refactoring.RefactoringContribution;
14 import org.eclipse.ltk.core.refactoring.RefactoringCore;
15
16 import org.eclipse.jdt.core.refactoring.IJavaRefactorings;
17
18 /**
19  * Refactoring descriptor for the move method refactoring.
20  * <p>
21  * An instance of this refactoring descriptor may be obtained by calling
22  * {@link RefactoringContribution#createDescriptor()} on a refactoring
23  * contribution requested by invoking
24  * {@link RefactoringCore#getRefactoringContribution(String)} with the
25  * appropriate refactoring id.
26  * </p>
27  * <p>
28  * Note: this class is not intended to be instantiated by clients.
29  * </p>
30  *
31  * @since 3.3
32  */

33 public final class MoveMethodDescriptor extends JavaRefactoringDescriptor {
34
35     /**
36      * Creates a new refactoring descriptor.
37      */

38     public MoveMethodDescriptor() {
39         super(IJavaRefactorings.MOVE_METHOD);
40     }
41 }
Popular Tags