void (@NotNull PsiMethodCallExpression expression) { if (containsLoggingCall) { return; } super.visitMethodCallExpression(expression); final PsiMethod method = expression.resolveMethod(); if (method == null) { return; } final PsiClass containingClass = method.getContainingClass(); if (containingClass == null) { return; } final String containingClassName = containingClass.getQualifiedName(); if (containingClassName == null) { return; } if (loggerClassNames.contains(containingClassName)) { containsLoggingCall = true; } }