void (@NotNull List<? extends @NotNull VFileEvent> events) { for (VFileEvent event : events) { if (event instanceof VFileContentChangeEvent || event instanceof VFilePropertyChangeEvent) { VirtualFile file = Objects.requireNonNull(event.getFile()); if (files.contains(file)) { onFileChange(file); } } } }