void ( @NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); final String methodName = MethodCallUtils.getMethodName(expression); if (!HardcodedMethodConstants.TO_STRING.equals(methodName)) { return; } final PsiType targetType = MethodCallUtils.getTargetType(expression); if (!TypeUtils.typeEquals(CommonClassNames.JAVA_UTIL_DATE, targetType)) { return; } final PsiExpressionList argumentList = expression.getArgumentList(); if (!argumentList.isEmpty()) { return; } if (NonNlsUtils.isNonNlsAnnotatedUse(expression)) { return; } registerMethodCallError(expression); }