void (@NotNull PsiElement element) { final PsiLiteralExpression charLiteral = (PsiLiteralExpression)element; final String charLiteralText = charLiteral.getText(); final String stringLiteral = PsiLiteralUtil.stringForCharLiteral(charLiteralText); PsiReplacementUtil.replaceExpression(charLiteral, stringLiteral); }