public static @NotNull TreeElement copyElement(@NotNull TreeElement original, PsiElement context, CharTable table) {
    TreeElement element = (TreeElement)original.clone();
    PsiManager manager = original.getManager();
    DummyHolderFactory.createHolder(manager, element, context, table).getTreeElement();
    encodeInformation(element, original);
    TreeUtil.clearCaches(element);
    saveIndentationToCopy(original, element);
    return element;
  }
public static @NotNull TreeElement copyElement(@NotNull TreeElement original, PsiElement context, CharTable table)