boolean (PsiElement self, PsiElement newElement) { if (newElement instanceof YAMLKeyValue && self instanceof YAMLKeyValue) { self.getParent().addAfter(myGenerator.createEol(), self); } return false; }