void ( @NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (!ThreadingUtils.isAwaitCall(expression)) { return; } final PsiReferenceExpression methodExpression = expression.getMethodExpression(); final PsiExpression qualifier = methodExpression.getQualifierExpression(); if (qualifier == null) { return; } if (!(qualifier instanceof PsiReferenceExpression)) { return; } final PsiElement referent = ((PsiReference)qualifier).resolve(); if (referent == null) { return; } if (!target.equals(referent)) { return; } containsAwait = true; }