void (final Ref<GrIntroduceContext> ref) { CommandProcessor.getInstance().executeCommand(ref.get().getProject(), () -> ApplicationManager.getApplication().runWriteAction(() -> { GrIntroduceContext context = ref.get(); StringPartInfo stringPart = context.getStringPart(); assert stringPart != null; GrExpression expression = stringPart.replaceLiteralWithConcatenation(null); ref.set(new GrIntroduceContextImpl(context.getProject(), context.getEditor(), expression, null, null, new PsiElement[]{expression}, context.getScope())); }), getRefactoringName(), getRefactoringName()); }