void (List<? extends VFileEvent> events, boolean beforeEvents, @NotNull Runnable action) { try (VfsEventDispatchContext ignored = new VfsEventDispatchContext(events, beforeEvents)) { action.run(); } }