question: @ Nullable @ Override public NonCodeUsageSearchInfo findUsages ( @ NotNull PsiElement element , @ NotNull PsiElement [ ] allElementsToDelete , @ NotNull List < UsageInfo > result ) { NonCodeUsageSearchInfo superResult = super . findUsages ( element , allElementsToDelete , result ) ; Iterator < UsageInfo > iter = result . iterator ( ) ; while ( iter . hasNext ( ) ) { if ( ignoreUsage ( iter . next ( ) ) ) { iter . remove ( ) ; } } return superResult ; }
target:  Delegates to JavaSafeDeleteProcessor, then removes indirect glob references which we don't want to block safe delete.