CompositeElement (@NotNull IElementType type, CharTable charTableByTree, @NotNull PsiManager manager) { FileElement treeElement = DummyHolderFactory.createHolder(manager, null, charTableByTree).getTreeElement(); CompositeElement composite = ASTFactory.composite(type); treeElement.rawAddChildren(composite); return composite; }