void (CompositeElement parent) { if (parent == myParent) return; PsiFileImpl file = getCachedFile(this); if (file != null) { file.beforeAstChange(); } myParent = parent; if (parent != null && parent.getElementType() != TokenType.DUMMY_HOLDER) { DebugUtil.revalidateNode(this); } }