@Override public PsiElement addRangeBefore( @NotNull PsiElement first, @NotNull PsiElement last, PsiElement anchor) throws IncorrectOperationException { return SharedImplUtil.addRange( this, first, last, SourceTreeToPsiMap.psiElementToTree(anchor), Boolean.TRUE); }
@Override public PsiElement replace(@NotNull PsiElement newElement) throws IncorrectOperationException { CompositeElement treeElement = calcTreeElement(); return SharedImplUtil.doReplace(this, treeElement, newElement); }
@Override public void acceptChildren(@NotNull PsiElementVisitor visitor) { SharedImplUtil.acceptChildren(visitor, calcTreeElement()); }
@Override public PsiElement addRange(PsiElement first, PsiElement last) throws IncorrectOperationException { return SharedImplUtil.addRange(this, first, last, null, null); }
@Override public PsiElement getLastChild() { return SharedImplUtil.getLastChild(calcTreeElement()); }