void ( @NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (!ThreadingUtils.isAwaitCall(expression)) { return; } final PsiReferenceExpression methodExpression = expression.getMethodExpression(); final PsiExpression qualifier = methodExpression.getQualifierExpression(); if (!(qualifier instanceof PsiReferenceExpression)) { return; } final PsiElement referent = ((PsiReference)qualifier).resolve(); if (!(referent instanceof PsiField field)) { return; } final PsiClass fieldClass = field.getContainingClass(); if (fieldClass == null) { return; } if (!PsiTreeUtil.isAncestor(fieldClass, expression, true)) { return; } if (containsSignalCall(fieldClass, field)) { return; } registerMethodCallError(expression); }