void () { if (myProject.isDisposed() || !myProject.isOpen()) return; if (myCheckSet.isEmpty()) return; List<VirtualFile> files = new ArrayList<>(myCheckSet); myCheckSet.clear(); myChangeListManager.invokeAfterUpdate(false, () -> { LocalChangeList defaultList = myChangeListManager.getDefaultChangeList(); for (VirtualFile file : files) { checkOneFile(file, defaultList); } }); }