public class MakeClassStaticProcessor extends MakeMethodOrClassStaticProcessor<PsiClass>
BaseRefactoringProcessor.ConflictsInTestsException, BaseRefactoringProcessor.UnknownReferenceTypeException
myMember, mySettings
myPrepareSuccessfulSwingThreadCallback, myProject, myRefactoringScope
Constructor and Description |
---|
MakeClassStaticProcessor(Project project,
PsiClass aClass,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
protected void |
changeExternalUsage(UsageInfo usage,
PsiElementFactory factory) |
protected void |
changeInternalUsage(com.intellij.refactoring.makeStatic.InternalUsageInfo usage,
PsiElementFactory factory) |
protected void |
changeSelf(PsiElementFactory factory,
UsageInfo[] usages) |
protected void |
changeSelfUsage(SelfUsageInfo usageInfo) |
protected void |
findExternalUsages(java.util.ArrayList<UsageInfo> result) |
protected MultiMap<PsiElement,java.lang.String> |
getConflictDescriptions(UsageInfo[] usages) |
createUsageViewDescriptor, findAdditionalMembers, findExternalReferences, findUsages, getAfterData, getBeforeData, getCommandName, getMember, getRefactoringId, getSettings, makeClassParameterFinal, makeFieldParameterFinal, performRefactoring, preprocessUsages, processExternalReference, setupTypeParameterList
createConflictsDialog, customizeUsagesView, doRun, execute, getElementsToWrite, getTransaction, getUndoConfirmationPolicy, isGlobalUndoAction, isPreviewUsages, isPreviewUsages, isToBeChanged, performPsiSpoilingRefactoring, prepareConflictsDialog, prepareSuccessful, previewRefactoring, processConflicts, refreshElements, run, runWithDisabledPreview, setPrepareSuccessfulSwingThreadCallback, setPreviewUsages, shouldDisableAccessChecks, showConflicts, showConflicts, skipNonCodeUsages
protected void changeSelf(PsiElementFactory factory, UsageInfo[] usages) throws IncorrectOperationException
changeSelf
in class MakeMethodOrClassStaticProcessor<PsiClass>
IncorrectOperationException
protected void changeSelfUsage(SelfUsageInfo usageInfo) throws IncorrectOperationException
changeSelfUsage
in class MakeMethodOrClassStaticProcessor<PsiClass>
IncorrectOperationException
protected void changeInternalUsage(com.intellij.refactoring.makeStatic.InternalUsageInfo usage, PsiElementFactory factory) throws IncorrectOperationException
changeInternalUsage
in class MakeMethodOrClassStaticProcessor<PsiClass>
IncorrectOperationException
protected void changeExternalUsage(UsageInfo usage, PsiElementFactory factory) throws IncorrectOperationException
changeExternalUsage
in class MakeMethodOrClassStaticProcessor<PsiClass>
IncorrectOperationException
protected MultiMap<PsiElement,java.lang.String> getConflictDescriptions(UsageInfo[] usages)
getConflictDescriptions
in class MakeMethodOrClassStaticProcessor<PsiClass>
protected void findExternalUsages(java.util.ArrayList<UsageInfo> result)
findExternalUsages
in class MakeMethodOrClassStaticProcessor<PsiClass>