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