void ( @NotNull PsiLiteralExpression expression) { super.visitLiteralExpression(expression); final PsiType type = expression.getType(); if (type == null) { return; } if (!type.equals(PsiTypes.longType())) { return; } final String text = expression.getText(); if (text == null) { return; } final int length = text.length(); if (length == 0) { return; } if (text.charAt(length - 1) != 'l') { return; } registerError(expression); }