void (@NotNull ActionContext context, @NotNull PsiAnnotationMemberValue value, @NotNull ModPsiUpdater updater) { String newText = value.getText(); newText = StringUtil.unquoteString(newText); newText = "\"" + newText + "\""; PsiElement newToken = JavaPsiFacade.getElementFactory(context.project()).createExpressionFromText(newText, null); final PsiElement newElement = value.replace(newToken); updater.moveTo(newElement.getTextOffset() + newElement.getTextLength()); }