void (PsiReferenceExpression qualified, PsiExpression instanceRef, PsiElement referencedInstance) { final PsiExpression qualifierExpression = qualified.getQualifierExpression(); // do not add usages inside a class if (qualifierExpression == null || qualifierExpression instanceof PsiThisExpression || qualifierExpression instanceof PsiSuperExpression) { return; } PsiElement resolved = qualified.resolve(); if (resolved != null && (myBaseClassMembers.contains(resolved) || myOverriddenMethods.contains(resolved)) && !isDelegated((PsiMember)resolved)) { myUsageInfoStorage.add(new NonDelegatedMemberUsageInfo(instanceRef, resolved, getFieldAccessibility(instanceRef))); } }