public static @NotNull CompositeElement createCompositeElement(@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;
  }
public static @NotNull CompositeElement createCompositeElement(@NotNull IElementType type,
                                                                 CharTable charTableByTree,
                                                                 @NotNull PsiManager manager)