private static Condition<PsiElement> getUsageInsideDeletedFilter(PsiElement[] allElementsToDelete) {
    return usage -> !(usage instanceof PsiFile) && isInside(usage, allElementsToDelete);
  }
private static Condition<PsiElement> getUsageInsideDeletedFilter(PsiElement[] allElementsToDelete)