Can I temporarily add a dummy PsiElement to the document during an refactoring action, if so how?
Background:
I'm currently working on expanding the refactoring action to introduce constants to companion objects. The extraction engine works, by providing it a sibling element of the target location. In the case of an empty companion object there is not sibling. So I want to add a temporary sibling and remove it after the extraction action is done