void (List<CompoundVFileEvent> events, List<AsyncFileListener.ChangeApplier> appliers, boolean asyncProcessing) { var manager = (VirtualFileManagerImpl)VirtualFileManager.getInstance(); manager.fireBeforeRefreshStart(myIsAsync); try { AsyncEventSupport.processEventsFromRefresh(events, appliers, asyncProcessing); } catch (AssertionError e) { if (FileStatusMap.CHANGES_NOT_ALLOWED_DURING_HIGHLIGHTING.equals(e.getMessage())) { throw new AssertionError("VFS changes are not allowed during highlighting", myStartTrace); } throw e; } finally { try { manager.fireAfterRefreshFinish(myIsAsync); } finally { if (myFinishRunnable != null) { myFinishRunnable.run(); } } } }