BaseRefactoringProcessor () { final List<ParameterInfoImpl> parameters = getParameters(); return ActionUtil.underModalProgress( myProject, JavaRefactoringBundle.message("changeSignature.processing.changes.title"), () -> { ParameterInfoImpl @NotNull [] parameterInfo = parameters.toArray(new ParameterInfoImpl[0]); ChangeSignatureRefactoring refactoring = JavaRefactoringFactory.getInstance(myProject) .createChangeSignatureProcessor(getMethod(), isGenerateDelegate(), getVisibility(), getMethodName(), getNewReturnType(), parameterInfo, getExceptions(), myMethodsToPropagateParameters, myMethodsToPropagateExceptions, null); return ((ChangeSignatureRefactoringImpl)refactoring).getProcessor(); } ); }