update copyright
[fedora-idea.git] / java / java-impl / src / com / intellij / refactoring / openapi / impl / JavaRefactoringActionHandlerFactoryImpl.java
blobd2f23b4831a6801f2ffc00f39e7b22960bfab873
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.intellij.refactoring.openapi.impl;
18 import com.intellij.refactoring.JavaRefactoringActionHandlerFactory;
19 import com.intellij.refactoring.RefactoringActionHandler;
20 import com.intellij.refactoring.anonymousToInner.AnonymousToInnerHandler;
21 import com.intellij.refactoring.changeSignature.ChangeSignatureHandler;
22 import com.intellij.refactoring.convertToInstanceMethod.ConvertToInstanceMethodHandler;
23 import com.intellij.refactoring.encapsulateFields.EncapsulateFieldsHandler;
24 import com.intellij.refactoring.extractInterface.ExtractInterfaceHandler;
25 import com.intellij.refactoring.extractMethod.ExtractMethodHandler;
26 import com.intellij.refactoring.extractSuperclass.ExtractSuperclassHandler;
27 import com.intellij.refactoring.inheritanceToDelegation.InheritanceToDelegationHandler;
28 import com.intellij.refactoring.inline.InlineRefactoringActionHandler;
29 import com.intellij.refactoring.introduceField.IntroduceConstantHandler;
30 import com.intellij.refactoring.introduceField.IntroduceFieldHandler;
31 import com.intellij.refactoring.introduceParameter.IntroduceParameterHandler;
32 import com.intellij.refactoring.introduceVariable.IntroduceVariableHandler;
33 import com.intellij.refactoring.invertBoolean.InvertBooleanHandler;
34 import com.intellij.refactoring.makeStatic.MakeStaticHandler;
35 import com.intellij.refactoring.memberPullUp.JavaPullUpHandler;
36 import com.intellij.refactoring.memberPushDown.JavaPushDownHandler;
37 import com.intellij.refactoring.replaceConstructorWithFactory.ReplaceConstructorWithFactoryHandler;
38 import com.intellij.refactoring.tempWithQuery.TempWithQueryHandler;
39 import com.intellij.refactoring.turnRefsToSuper.TurnRefsToSuperHandler;
40 import com.intellij.refactoring.typeCook.TypeCookHandler;
41 import com.intellij.refactoring.util.duplicates.MethodDuplicatesHandler;
43 public class JavaRefactoringActionHandlerFactoryImpl extends JavaRefactoringActionHandlerFactory {
44 public RefactoringActionHandler createAnonymousToInnerHandler() {
45 return new AnonymousToInnerHandler();
48 public RefactoringActionHandler createPullUpHandler() {
49 return new JavaPullUpHandler();
52 public RefactoringActionHandler createPushDownHandler() {
53 return new JavaPushDownHandler();
56 public RefactoringActionHandler createTurnRefsToSuperHandler() {
57 return new TurnRefsToSuperHandler();
60 public RefactoringActionHandler createTempWithQueryHandler() {
61 return new TempWithQueryHandler();
64 public RefactoringActionHandler createIntroduceParameterHandler() {
65 return new IntroduceParameterHandler();
68 public RefactoringActionHandler createMakeMethodStaticHandler() {
69 return new MakeStaticHandler();
72 public RefactoringActionHandler createConvertToInstanceMethodHandler() {
73 return new ConvertToInstanceMethodHandler();
76 public RefactoringActionHandler createReplaceConstructorWithFactoryHandler() {
77 return new ReplaceConstructorWithFactoryHandler();
80 public RefactoringActionHandler createEncapsulateFieldsHandler() {
81 return new EncapsulateFieldsHandler();
84 public RefactoringActionHandler createMethodDuplicatesHandler() {
85 return new MethodDuplicatesHandler();
88 public RefactoringActionHandler createChangeSignatureHandler() {
89 return new ChangeSignatureHandler();
92 public RefactoringActionHandler createExtractSuperclassHandler() {
93 return new ExtractSuperclassHandler();
96 public RefactoringActionHandler createTypeCookHandler() {
97 return new TypeCookHandler();
100 public RefactoringActionHandler createInlineHandler() {
101 return new InlineRefactoringActionHandler();
104 public RefactoringActionHandler createExtractMethodHandler() {
105 return new ExtractMethodHandler();
108 public RefactoringActionHandler createInheritanceToDelegationHandler() {
109 return new InheritanceToDelegationHandler();
112 public RefactoringActionHandler createExtractInterfaceHandler() {
113 return new ExtractInterfaceHandler();
116 public RefactoringActionHandler createIntroduceFieldHandler() {
117 return new IntroduceFieldHandler();
120 public RefactoringActionHandler createIntroduceVariableHandler() {
121 return new IntroduceVariableHandler();
124 public RefactoringActionHandler createIntroduceConstantHandler() {
125 return new IntroduceConstantHandler();
128 public RefactoringActionHandler createInvertBooleanHandler() {
129 return new InvertBooleanHandler();