boolean (PsiElement self, PsiElement newElement) { if (newElement instanceof JsonProperty && self instanceof JsonProperty) { self.getParent().addAfter(myGenerator.createComma(), self); return true; } return false; }