void (@NotNull List<? extends @NotNull VFileEvent> events) { for (VFileEvent e : events) { if (e instanceof VFileContentChangeEvent) { beforeContentsChange((VFileContentChangeEvent)e); } else if (e instanceof VFileDeleteEvent) { beforeFileDeletion((VFileDeleteEvent)e); } } }