Presentation (@NotNull ActionContext context, @NotNull PsiLiteralExpression literal) { final String convertedValue = convertedValue(literal); final boolean isString = isString(literal.getType()); String message = QuickFixBundle.message("fix.single.character.string.to.char.literal.text", literal.getText(), quote(convertedValue, !isString), isString ? PsiTypes.charType().getCanonicalText() : "String"); return Presentation.of(message).withPriority(PriorityAction.Priority.HIGH); }