void (@NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (ignoreNonFinalClassesInTest && POSSIBLE_TO_SKIP_TEST_ASSERTIONS.test(expression) && !isFinalLibraryClassOrPrimitives(expression)) { return; } if (isEqualsWithItself(expression)) { registerMethodCallError(expression, !ignoreNonFinalClassesInTest && POSSIBLE_TO_SKIP_TEST_ASSERTIONS.test(expression) && !isFinalLibraryClassOrPrimitives(expression)); } }