public class WrapReturnValueProcessor extends FixableUsagesRefactoringProcessor
BaseRefactoringProcessor.ConflictsInTestsException, BaseRefactoringProcessor.UnknownReferenceTypeExceptionmyPrepareSuccessfulSwingThreadCallback, myProject, myRefactoringScope| Constructor and Description |
|---|
WrapReturnValueProcessor(java.lang.String className,
java.lang.String packageName,
MoveDestination moveDestination,
PsiMethod method,
boolean useExistingClass,
boolean createInnerClass,
PsiField delegateField) |
| Modifier and Type | Method and Description |
|---|---|
protected UsageViewDescriptor |
createUsageViewDescriptor(UsageInfo [] usageInfos) |
void |
findUsages(java.util.List<FixableUsageInfo> usages) |
protected java.lang.String |
getCommandName() |
protected static PsiType |
getInferredType(PsiType type,
PsiType returnType,
PsiClass containingClass,
PsiMethod method) |
protected void |
performRefactoring(UsageInfo [] usageInfos)
Is called in a command and inside atomic action.
|
protected boolean |
preprocessUsages(Ref<UsageInfo[]> refUsages)
Is called inside atomic action.
|
checkConflicts, findUsagescreateConflictsDialog, customizeUsagesView, doRun, execute, getAfterData, getBeforeData, getElementsToWrite, getRefactoringId, getTransaction, getUndoConfirmationPolicy, isGlobalUndoAction, isPreviewUsages, isPreviewUsages, isToBeChanged, performPsiSpoilingRefactoring, prepareConflictsDialog, prepareSuccessful, previewRefactoring, processConflicts, refreshElements, run, runWithDisabledPreview, setPrepareSuccessfulSwingThreadCallback, setPreviewUsages, shouldDisableAccessChecks, showConflicts, showConflicts, skipNonCodeUsagespublic WrapReturnValueProcessor(java.lang.String className,
java.lang.String packageName,
MoveDestination moveDestination,
PsiMethod method,
boolean useExistingClass,
boolean createInnerClass,
PsiField delegateField)
protected UsageViewDescriptor createUsageViewDescriptor(UsageInfo [] usageInfos)
createUsageViewDescriptor in class BaseRefactoringProcessorpublic void findUsages(java.util.List<FixableUsageInfo> usages)
findUsages in class FixableUsagesRefactoringProcessorprotected static PsiType getInferredType(PsiType type, PsiType returnType, PsiClass containingClass, PsiMethod method)
protected boolean preprocessUsages(Ref<UsageInfo[]> refUsages)
BaseRefactoringProcessorpreprocessUsages in class BaseRefactoringProcessorrefUsages - usages to be filteredprotected void performRefactoring(UsageInfo [] usageInfos)
BaseRefactoringProcessorperformRefactoring in class FixableUsagesRefactoringProcessorprotected java.lang.String getCommandName()
getCommandName in class BaseRefactoringProcessor