01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.corext.refactoring.structure;
11:
12: import org.eclipse.jdt.internal.corext.refactoring.RefactoringCoreMessages;
13:
14: /**
15: * Refactoring to move an instance method to another class.
16: */
17: public final class MoveInstanceMethodRefactoring extends
18: JavaMoveRefactoring {
19:
20: /**
21: * Creates a new move instance method refactoring.
22: *
23: * @param processor
24: * the move instance method processor to use
25: */
26: public MoveInstanceMethodRefactoring(
27: final MoveInstanceMethodProcessor processor) {
28: super (processor);
29: }
30:
31: /**
32: * Returns the move instance method processor
33: *
34: * @return the move processor
35: */
36: public final MoveInstanceMethodProcessor getMoveMethodProcessor() {
37: return (MoveInstanceMethodProcessor) getMoveProcessor();
38: }
39:
40: /**
41: * {@inheritDoc}
42: */
43: public final String getName() {
44: return RefactoringCoreMessages.MoveInstanceMethodRefactoring_name;
45: }
46: }
|