boolean (@NotNull PsiTreeChangeEventImpl event) { PsiTreeChangeEventImpl.PsiEventType code = event.getCode(); return !(code == BEFORE_PROPERTY_CHANGE || code == PROPERTY_CHANGED && Strings.areSameInstance(event.getPropertyName(), PsiTreeChangeEvent.PROP_WRITABLE)); }