void (@NotNull VFileEvent e, Consumer<VFilePropertyChangeEvent> action) { if (isRenameEvent(e)) { VFilePropertyChangeEvent propChangeEvent = (VFilePropertyChangeEvent)e; if (isInContentOfOpenedProject(propChangeEvent.getFile())) { action.accept(propChangeEvent); } } }