public class MakeMethodStaticProcessor extends MakeMethodOrClassStaticProcessor<PsiMethod>
BaseRefactoringProcessor.ConflictsInTestsException, BaseRefactoringProcessor.UnknownReferenceTypeException
myMember, mySettings
myPrepareSuccessfulSwingThreadCallback, myProject, myRefactoringScope
Constructor and Description |
---|
MakeMethodStaticProcessor(Project project,
PsiMethod method,
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 boolean |
findAdditionalMembers(java.util.Set<UsageInfo> toMakeStatic) |
protected void |
findExternalUsages(java.util.ArrayList<UsageInfo> result) |
protected MultiMap<PsiElement,java.lang.String> |
getConflictDescriptions(UsageInfo[] usages) |
protected void |
processExternalReference(PsiElement element,
PsiMethod method,
java.util.ArrayList<UsageInfo> result) |
createUsageViewDescriptor, findExternalReferences, findUsages, getAfterData, getBeforeData, getCommandName, getMember, getRefactoringId, getSettings, makeClassParameterFinal, makeFieldParameterFinal, performRefactoring, preprocessUsages, 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 boolean findAdditionalMembers(java.util.Set<UsageInfo> toMakeStatic)
findAdditionalMembers
in class MakeMethodOrClassStaticProcessor<PsiMethod>
protected MultiMap<PsiElement,java.lang.String> getConflictDescriptions(UsageInfo[] usages)
getConflictDescriptions
in class MakeMethodOrClassStaticProcessor<PsiMethod>
protected void changeSelfUsage(SelfUsageInfo usageInfo) throws IncorrectOperationException
changeSelfUsage
in class MakeMethodOrClassStaticProcessor<PsiMethod>
IncorrectOperationException
protected void changeSelf(PsiElementFactory factory, UsageInfo[] usages) throws IncorrectOperationException
changeSelf
in class MakeMethodOrClassStaticProcessor<PsiMethod>
IncorrectOperationException
protected void changeInternalUsage(com.intellij.refactoring.makeStatic.InternalUsageInfo usage, PsiElementFactory factory) throws IncorrectOperationException
changeInternalUsage
in class MakeMethodOrClassStaticProcessor<PsiMethod>
IncorrectOperationException
protected void changeExternalUsage(UsageInfo usage, PsiElementFactory factory) throws IncorrectOperationException
changeExternalUsage
in class MakeMethodOrClassStaticProcessor<PsiMethod>
IncorrectOperationException
protected void findExternalUsages(java.util.ArrayList<UsageInfo> result)
findExternalUsages
in class MakeMethodOrClassStaticProcessor<PsiMethod>
protected void processExternalReference(PsiElement element, PsiMethod method, java.util.ArrayList<UsageInfo> result)
processExternalReference
in class MakeMethodOrClassStaticProcessor<PsiMethod>