@Override
      public void childRemoved(@NotNull PsiTreeChangeEvent event) {
        if (event.getOldChild() instanceof PsiWhiteSpace) return; // optimization
        childrenChanged(event);
      }
@Override
      public void childRemoved(@NotNull PsiTreeChangeEvent event)