public abstract class ChangeSignatureProcessorBase extends BaseRefactoringProcessor
BaseRefactoringProcessor.ConflictsInTestsException, BaseRefactoringProcessor.UnknownReferenceTypeException
Modifier and Type | Field and Description |
---|---|
protected ChangeInfo |
myChangeInfo |
protected PsiManager |
myManager |
protected static java.lang.String |
REFACTORING_ID |
myPrepareSuccessfulSwingThreadCallback, myProject, myRefactoringScope
Modifier | Constructor and Description |
---|---|
protected |
ChangeSignatureProcessorBase(Project project,
ChangeInfo changeInfo) |
Modifier and Type | Method and Description |
---|---|
static void |
collectConflictsFromExtensions(Ref<UsageInfo[]> refUsages,
MultiMap<PsiElement,java.lang.String> conflictDescriptions,
ChangeInfo changeInfo) |
static void |
doChangeSignature(ChangeInfo changeInfo,
UsageInfo [] usages) |
protected static java.util.List<UsageInfo> |
filterUsages(java.util.List<? extends UsageInfo> infos) |
protected UsageInfo [] |
findUsages()
Is called inside atomic action.
|
static UsageInfo [] |
findUsages(ChangeInfo changeInfo) |
protected RefactoringEventData |
getAfterData(UsageInfo [] usages) |
protected RefactoringEventData |
getBeforeData() |
ChangeInfo |
getChangeInfo() |
protected java.lang.String |
getCommandName() |
protected java.lang.String |
getRefactoringId() |
protected boolean |
isPreviewUsages(UsageInfo [] usages)
Is called inside atomic action.
|
protected void |
performRefactoring(UsageInfo [] usages)
Is called in a command and inside atomic action.
|
createConflictsDialog, createUsageViewDescriptor, customizeUsagesView, doRun, execute, getElementsToWrite, getTransaction, getUndoConfirmationPolicy, isGlobalUndoAction, isPreviewUsages, isToBeChanged, performPsiSpoilingRefactoring, prepareConflictsDialog, prepareSuccessful, preprocessUsages, previewRefactoring, processConflicts, refreshElements, run, runWithDisabledPreview, setPrepareSuccessfulSwingThreadCallback, setPreviewUsages, shouldDisableAccessChecks, showConflicts, showConflicts, skipNonCodeUsages
protected static final java.lang.String REFACTORING_ID
protected final ChangeInfo myChangeInfo
protected final PsiManager myManager
protected ChangeSignatureProcessorBase(Project project, ChangeInfo changeInfo)
protected UsageInfo [] findUsages()
BaseRefactoringProcessor
findUsages
in class BaseRefactoringProcessor
public static void collectConflictsFromExtensions(Ref<UsageInfo[]> refUsages, MultiMap<PsiElement,java.lang.String> conflictDescriptions, ChangeInfo changeInfo)
public static UsageInfo [] findUsages(ChangeInfo changeInfo)
protected static java.util.List<UsageInfo> filterUsages(java.util.List<? extends UsageInfo> infos)
protected boolean isPreviewUsages(UsageInfo [] usages)
BaseRefactoringProcessor
isPreviewUsages
in class BaseRefactoringProcessor
protected java.lang.String getRefactoringId()
getRefactoringId
in class BaseRefactoringProcessor
protected RefactoringEventData getBeforeData()
getBeforeData
in class BaseRefactoringProcessor
protected RefactoringEventData getAfterData(UsageInfo [] usages)
getAfterData
in class BaseRefactoringProcessor
protected void performRefactoring(UsageInfo [] usages)
BaseRefactoringProcessor
performRefactoring
in class BaseRefactoringProcessor
public static void doChangeSignature(ChangeInfo changeInfo, UsageInfo [] usages)
protected java.lang.String getCommandName()
getCommandName
in class BaseRefactoringProcessor
public ChangeInfo getChangeInfo()