void (@NotNull PsiTreeChangeEvent event) { if (!processFileEvent(event)) { PsiElement oldParent = event.getOldParent(); PsiElement newParent = event.getNewParent(); if (oldParent instanceof PsiDirectory || newParent instanceof PsiDirectory) { needReValidateTree(); } } }