void (@NotNull VFilePropertyChangeEvent event) { if (event.isRename()) { LOG.debug("before file rename ", event); String newName = (String)event.getNewValue(); VirtualFile file = event.getFile(); VirtualFile parent = file.getParent(); if (parent != null) { addFileToMove(file, parent.getPath(), newName); } } }