public class ExtractSuperClassProcessor extends ExtractSuperBaseProcessor
BaseRefactoringProcessor.ConflictsInTestsException, BaseRefactoringProcessor.UnknownReferenceTypeException
myJavaDocPolicy, myMemberInfos, myNewClassName, myTargetDirectory
myClass, myElementToNode, myManager, myMarkedNodes, myReplaceInstanceOf, mySearchHelper, myVariablesRenames
myPrepareSuccessfulSwingThreadCallback, myProject, myRefactoringScope
Constructor and Description |
---|
ExtractSuperClassProcessor(Project project,
PsiDirectory targetDirectory,
java.lang.String newClassName,
PsiClass aClass,
MemberInfo[] memberInfos,
boolean replaceInstanceOf,
DocCommentPolicy javaDocPolicy) |
Modifier and Type | Method and Description |
---|---|
protected PsiClass |
extractSuper(java.lang.String superClassName) |
protected boolean |
isInSuper(PsiElement member) |
protected boolean |
isSuperInheritor(PsiClass aClass) |
createUsageViewDescriptor, doesAnyExtractedInterfaceExtends, doMemberInfosContain, doMemberInfosContain, findUsages, getCommandName, getElementsToWrite, performRefactoring, refreshElements
addLink, canTurnToSuper, detectTurnToSuperRefs, markNodes, performVariablesRenaming, preprocessUsages, processTurnToSuperRefs
createConflictsDialog, customizeUsagesView, doRun, execute, getAfterData, getBeforeData, getRefactoringId, getTransaction, getUndoConfirmationPolicy, isGlobalUndoAction, isPreviewUsages, isPreviewUsages, isToBeChanged, performPsiSpoilingRefactoring, prepareConflictsDialog, prepareSuccessful, previewRefactoring, processConflicts, run, runWithDisabledPreview, setPrepareSuccessfulSwingThreadCallback, setPreviewUsages, shouldDisableAccessChecks, showConflicts, showConflicts, skipNonCodeUsages
public ExtractSuperClassProcessor(Project project, PsiDirectory targetDirectory, java.lang.String newClassName, PsiClass aClass, MemberInfo[] memberInfos, boolean replaceInstanceOf, DocCommentPolicy javaDocPolicy)
protected PsiClass extractSuper(java.lang.String superClassName) throws IncorrectOperationException
extractSuper
in class ExtractSuperBaseProcessor
IncorrectOperationException
protected boolean isSuperInheritor(PsiClass aClass)
isSuperInheritor
in class TurnRefsToSuperProcessorBase
protected boolean isInSuper(PsiElement member)
isInSuper
in class TurnRefsToSuperProcessorBase