void (PsiElement element, PsiElement container, PsiElement anchor) { final PsiElement sibling = element.getPrevSibling(); container.addAfter(element, anchor); if (sibling instanceof PsiWhiteSpace) { container.addAfter(sibling, anchor); } }