public class ChangeSignatureProcessor extends ChangeSignatureProcessorBase
BaseRefactoringProcessor.ConflictsInTestsException, BaseRefactoringProcessor.UnknownReferenceTypeExceptionmyChangeInfo, myManager, REFACTORING_IDmyPrepareSuccessfulSwingThreadCallback, myProject, myRefactoringScope| Constructor and Description |
|---|
ChangeSignatureProcessor(Project project,
JavaChangeInfo changeInfo) |
ChangeSignatureProcessor(Project project,
PsiMethod method,
boolean generateDelegate,
java.lang.String newVisibility,
java.lang.String newName,
CanonicalTypes.Type newType,
ParameterInfoImpl [] parameterInfo,
ThrownExceptionInfo[] thrownExceptions,
java.util.Set<PsiMethod> propagateParametersMethods,
java.util.Set<PsiMethod> propagateExceptionsMethods) |
ChangeSignatureProcessor(Project project,
PsiMethod method,
boolean generateDelegate,
java.lang.String newVisibility,
java.lang.String newName,
PsiType newType,
ParameterInfoImpl [] parameterInfo) |
ChangeSignatureProcessor(Project project,
PsiMethod method,
boolean generateDelegate,
java.lang.String newVisibility,
java.lang.String newName,
PsiType newType,
ParameterInfoImpl[] parameterInfo,
ThrownExceptionInfo[] exceptionInfos) |
| Modifier and Type | Method and Description |
|---|---|
static PsiCallExpression |
addDelegatingCallTemplate(PsiMethod delegate,
java.lang.String newName) |
protected UsageViewDescriptor |
createUsageViewDescriptor(UsageInfo [] usages) |
JavaChangeInfoImpl |
getChangeInfo() |
protected boolean |
isProcessCovariantOverriders() |
static void |
makeEmptyBody(PsiElementFactory factory,
PsiMethod delegate) |
protected void |
preprocessCovariantOverriders(java.util.List<UsageInfo> covariantOverriderInfos) |
protected boolean |
preprocessUsages(Ref<UsageInfo[]> refUsages)
Is called inside atomic action.
|
protected void |
refreshElements(PsiElement [] elements)
is called when usage search is re-run.
|
collectConflictsFromExtensions, doChangeSignature, filterUsages, findUsages, findUsages, getAfterData, getBeforeData, getCommandName, getRefactoringId, isPreviewUsages, performRefactoringcreateConflictsDialog, customizeUsagesView, doRun, execute, getElementsToWrite, getTransaction, getUndoConfirmationPolicy, isGlobalUndoAction, isPreviewUsages, isToBeChanged, performPsiSpoilingRefactoring, prepareConflictsDialog, prepareSuccessful, previewRefactoring, processConflicts, run, runWithDisabledPreview, setPrepareSuccessfulSwingThreadCallback, setPreviewUsages, shouldDisableAccessChecks, showConflicts, showConflicts, skipNonCodeUsagespublic ChangeSignatureProcessor(Project project, PsiMethod method, boolean generateDelegate, java.lang.String newVisibility, java.lang.String newName, PsiType newType, ParameterInfoImpl [] parameterInfo)
public ChangeSignatureProcessor(Project project, PsiMethod method, boolean generateDelegate, java.lang.String newVisibility, java.lang.String newName, PsiType newType, ParameterInfoImpl[] parameterInfo, ThrownExceptionInfo[] exceptionInfos)
public ChangeSignatureProcessor(Project project, PsiMethod method, boolean generateDelegate, java.lang.String newVisibility, java.lang.String newName, CanonicalTypes.Type newType, ParameterInfoImpl [] parameterInfo, ThrownExceptionInfo[] thrownExceptions, java.util.Set<PsiMethod> propagateParametersMethods, java.util.Set<PsiMethod> propagateExceptionsMethods)
public ChangeSignatureProcessor(Project project, JavaChangeInfo changeInfo)
protected UsageViewDescriptor createUsageViewDescriptor(UsageInfo [] usages)
createUsageViewDescriptor in class BaseRefactoringProcessorpublic JavaChangeInfoImpl getChangeInfo()
getChangeInfo in class ChangeSignatureProcessorBaseprotected void refreshElements(PsiElement [] elements)
BaseRefactoringProcessorrefreshElements in class BaseRefactoringProcessorelements - - refreshed elements that are returned by UsageViewDescriptor.getElements()protected boolean preprocessUsages(Ref<UsageInfo[]> refUsages)
BaseRefactoringProcessorpreprocessUsages in class BaseRefactoringProcessorrefUsages - usages to be filteredprotected void preprocessCovariantOverriders(java.util.List<UsageInfo> covariantOverriderInfos)
protected boolean isProcessCovariantOverriders()
public static void makeEmptyBody(PsiElementFactory factory, PsiMethod delegate) throws IncorrectOperationException
IncorrectOperationExceptionpublic static PsiCallExpression addDelegatingCallTemplate(PsiMethod delegate, java.lang.String newName) throws IncorrectOperationException
IncorrectOperationException