Пример #1
0
 @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);
 }
Пример #2
0
 @Override
 public PsiElement replace(@NotNull PsiElement newElement) throws IncorrectOperationException {
   CompositeElement treeElement = calcTreeElement();
   return SharedImplUtil.doReplace(this, treeElement, newElement);
 }
Пример #3
0
 @Override
 public void acceptChildren(@NotNull PsiElementVisitor visitor) {
   SharedImplUtil.acceptChildren(visitor, calcTreeElement());
 }
Пример #4
0
 @Override
 public PsiElement addRange(PsiElement first, PsiElement last) throws IncorrectOperationException {
   return SharedImplUtil.addRange(this, first, last, null, null);
 }
Пример #5
0
 @Override
 public PsiElement getLastChild() {
   return SharedImplUtil.getLastChild(calcTreeElement());
 }