void (@NotNull ActionContext context, @NotNull PsiJavaToken token, @NotNull ModPsiUpdater updater) { if (token.getTokenType() != JavaTokenType.STRING_LITERAL) return; final String text = token.getText(); if (text == null) return; final PsiElementFactory factory = JavaPsiFacade.getElementFactory(context.project()); token.getParent().replace(factory.createExpressionFromText(breakOnLineBreaks(text), token)); }