public class JavaRefactoringActionHandlerFactoryImpl extends JavaRefactoringActionHandlerFactory
| Constructor and Description |
|---|
JavaRefactoringActionHandlerFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
RefactoringActionHandler |
createAnonymousToInnerHandler()
Creates handler for Anonymous To Inner refactoring.
|
RefactoringActionHandler |
createChangeSignatureHandler()
Creates handler for Change Method/Class Signature refactoring.
|
RefactoringActionHandler |
createConvertToInstanceMethodHandler()
Creates handler for Convert To Instance Method refactoring.
|
RefactoringActionHandler |
createEncapsulateFieldsHandler()
Creates handler for Replace Constructor With Factory Method refactoring.
|
RefactoringActionHandler |
createExtractInterfaceHandler()
Creates handler for Extract Interface refactoring.
|
RefactoringActionHandler |
createExtractMethodHandler()
Creates handler for Extract Method refactoring.
|
RefactoringActionHandler |
createExtractSuperclassHandler()
Creates handler for Extract Superclass refactoring.
|
RefactoringActionHandler |
createInheritanceToDelegationHandler() |
RefactoringActionHandler |
createInlineHandler()
Creates handler for Inline refactoring.
|
RefactoringActionHandler |
createIntroduceConstantHandler()
Creates handler for Introduce Constant refactoring.
|
RefactoringActionHandler |
createIntroduceFieldHandler()
Creates handler for Introduce Field refactoring.
|
RefactoringActionHandler |
createIntroduceParameterHandler()
Creates handler for Introduce Parameter refactoring.
|
RefactoringActionHandler |
createIntroduceVariableHandler()
Creates handler for Introduce Variable refactoring.
|
RefactoringActionHandler |
createInvertBooleanHandler()
Creates handler for Invert Boolean refactoring.
|
RefactoringActionHandler |
createMakeMethodStaticHandler()
Creates handler for Make Method Static refactoring.
|
RefactoringActionHandler |
createMethodDuplicatesHandler()
Creates handler for Replace Method Code Duplicates refactoring.
|
RefactoringActionHandler |
createPullUpHandler()
Creates handler for Pull Members Up refactoring.
|
RefactoringActionHandler |
createPushDownHandler()
Creates handler for Push Members Down refactoring.
|
RefactoringActionHandler |
createReplaceConstructorWithFactoryHandler()
Creates handler for Replace Constructor With Factory Method refactoring.
|
RefactoringActionHandler |
createTempWithQueryHandler()
Creates handler for Replace Temp With Query refactoring.
|
RefactoringActionHandler |
createTurnRefsToSuperHandler()
Creates handler for Use Interface Where Possible refactoring.
|
RefactoringActionHandler |
createTypeCookHandler()
Creates handler for Generify (aka Type Cook) refactoring.
|
getInstancepublic JavaRefactoringActionHandlerFactoryImpl()
public RefactoringActionHandler createAnonymousToInnerHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
is not implemented.
createAnonymousToInnerHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createPullUpHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either a PsiClass, PsiField or PsiMethod.
In latter two cases, elements[0] is a member that will be preselected.
createPullUpHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createPushDownHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either a PsiClass, PsiField or PsiMethod.
In latter two cases, elements[0] is a member that will be preselected.
createPushDownHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createTurnRefsToSuperHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 PsiClass.
createTurnRefsToSuperHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createTempWithQueryHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
is not implemented.
createTempWithQueryHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createIntroduceParameterHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either 1 PsiExpression, that will be an initializer for introduced parameter,
or 1 PsiLocalVariable, that will be replaced with introduced parameter.
createIntroduceParameterHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createMakeMethodStaticHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 PsiMethod.
createMakeMethodStaticHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createConvertToInstanceMethodHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 PsiMethod.
createConvertToInstanceMethodHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createReplaceConstructorWithFactoryHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either a PsiMethod that is a constructor, or a PsiClass
with implicit default constructor.
createReplaceConstructorWithFactoryHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createEncapsulateFieldsHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either a PsiClass or any number of PsiFields.
createEncapsulateFieldsHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createMethodDuplicatesHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts one PsiMethod.
createMethodDuplicatesHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createChangeSignatureHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either 1 PsiMethod or 1 PsiClass
createChangeSignatureHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createExtractSuperclassHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 PsiClass.
createExtractSuperclassHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createTypeCookHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts any number of arbitrary PsiElements. All code inside these elements will be generified.
createTypeCookHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createInlineHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 inlinable PsiElement (method, local variable or constant).
createInlineHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createExtractMethodHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
is not implemented.
createExtractMethodHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createInheritanceToDelegationHandler()
createInheritanceToDelegationHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createExtractInterfaceHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 PsiClass.
createExtractInterfaceHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createIntroduceFieldHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either 1 PsiExpression, that will be an initializer for introduced field,
or 1 PsiLocalVariable, that will be replaced with introduced field.
createIntroduceFieldHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createIntroduceVariableHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 PsiExpression, that will be an initializer for introduced variable.
createIntroduceVariableHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createIntroduceConstantHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts either 1 PsiExpression, that will be an initializer for introduced constant,
or 1 PsiLocalVariable, that will be replaced with introduced constant.
createIntroduceConstantHandler in class JavaRefactoringActionHandlerFactorypublic RefactoringActionHandler createInvertBooleanHandler()
JavaRefactoringActionHandlerFactory
RefactoringActionHandler.invoke(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.openapi.actionSystem.DataContext)
accepts 1 PsiMethod, that will be inverted
createInvertBooleanHandler in class JavaRefactoringActionHandlerFactory