int (PsiNameIdentifierOwner nameIdentifierOwner) { return getNumberOfOccurrences(nameIdentifierOwner, this::ignoreOccurrence, scope -> MethodReferencesSearch.search((PsiMethod)nameIdentifierOwner, scope, true)); }