boolean (PsiElement element) { if (element instanceof PsiThisExpression) { return myCallQualifier != null && !myDelegate || myCallQualifier instanceof PsiSuperExpression; } return myCallQualifier instanceof PsiReferenceExpression && ((PsiReferenceExpression)myCallQualifier).isReferenceTo(element); }