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