void ( @NotNull PsiLiteralExpression expression) { super.visitLiteralExpression(expression); final PsiType type = expression.getType(); if (type == null) { return; } if (!type.equals(PsiTypes.charType())) { return; } final String text = expression.getText(); if (text == null) { return; } if (text.equals(" ")) { return; } if (ExpressionUtils.isDeclaredConstant(expression)) { return; } if (NonNlsUtils.isNonNlsAnnotatedUse(expression)) { return; } registerError(expression); }