void (@NotNull File file) { if (stopped.get()) return; queueToAdd.add(file); myMergingUpdateQueue.queue(new Update(this) { @Override public void run() { taskConsumer.run(); } @Override public boolean isDisposed() { return myMavenIndices.isDisposed(); } }); }