public boolean preparePsiElementsForWrite(PsiElement @NotNull ... elements) {
    return preparePsiElementsForWrite(Arrays.asList(elements));
  }
public boolean preparePsiElementsForWrite(PsiElement @NotNull ... elements)