@Override
  public final void applyReplaceFileOnReparse(@NotNull PsiFile psiFile, @NotNull FileASTNode newNode) {
    if (getFirstChildNode() != null) rawRemoveAllChildren();
    ASTNode firstChildNode = newNode.getFirstChildNode();
    if (firstChildNode != null) rawAddChildren((TreeElement)firstChildNode);
    ((PsiFileImpl) psiFile).calcTreeElement().setCharTable(newNode.getCharTable());
    subtreeChanged();
  }
@Override
  public final void applyReplaceFileOnReparse(@NotNull PsiFile psiFile, @NotNull FileASTNode newNode)