void ( @NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (!ThreadingUtils.isWaitCall(expression)) { return; } final PsiReferenceExpression methodExpression = expression.getMethodExpression(); final PsiExpression qualifier = methodExpression.getQualifierExpression(); if (!TypeUtils.expressionHasTypeOrSubtype(qualifier, "java.util.concurrent.locks.Condition")) { return; } registerMethodCallError(expression); }