@Override
    public void after(@NotNull VirtualFile file) {
      myDepth--;
      LOG.assertTrue(myDepth >= 1);

      for (int i = 0; i < myVisitors.size(); i++) {
        int terminatedAt = myTerminatedAtDepth[i];
        if (terminatedAt == myDepth) {
          myTerminatedAtDepth[i] = 0;
        }
        else if (terminatedAt == 0) {
          myVisitors.get(i).after(file);
        }
      }
    }
@Override
    public void after(@NotNull VirtualFile file)