boolean (PsiReference psiReference) { final PsiReferenceExpression psiReferenceExpression = ObjectUtils.tryCast(psiReference.getElement(), PsiReferenceExpression.class); if (psiReferenceExpression == null) return false; PsiMethodCallExpression methodCallExpression = ObjectUtils.tryCast(psiReferenceExpression.getParent(), PsiMethodCallExpression.class); if (methodCallExpression != null && !isInvertedMethodCall(methodCallExpression, null)) { descriptionsProcessor.ignoreElement(refMethod); } return false; }