void (@NotNull PsiTreeChangeEventImpl event) { beforeChange(true); event.setCode(PsiTreeChangeEventImpl.PsiEventType.BEFORE_CHILD_REPLACEMENT); if (LOG.isDebugEnabled()) { LOG.debug("beforeChildReplacement: oldChild = " + logPsi(event.getOldChild())); } fireEvent(event); }