void (@NotNull final PsiTreeChangeEvent event) { final String propertyName = event.getPropertyName(); switch (propertyName) { case PsiTreeChangeEvent.PROP_ROOTS, PsiTreeChangeEvent.PROP_FILE_TYPES -> addUpdateRequest(); case PsiTreeChangeEvent.PROP_WRITABLE, PsiTreeChangeEvent.PROP_FILE_NAME, PsiTreeChangeEvent.PROP_DIRECTORY_NAME -> childrenChanged(); } }