@Override
    public @NotNull PsiElement adjustPropertyAnchor(@NotNull LeafPsiElement element) {
      YAMLElementGenerator generator = YAMLElementGenerator.getInstance(element.getProject());
      YAMLKeyValue keyValue = findPrecedingKeyValueWithNoValue(element);
      assert keyValue != null : "Should come here only for YAMLKeyValue with no value and a following indent";
      PsiComment nextComment = ObjectUtils.tryCast(skipNonNewlineSpaces(keyValue), PsiComment.class);
      if (nextComment != null) {
        keyValue.addBefore(generator.createSpace(), null);
        keyValue.addBefore(nextComment.copy(), null);
      }
      keyValue.addBefore(generator.createEol(), null);
      keyValue.addBefore(generator.createIndent(element.getTextLength()), null);
      PsiElement prev = element.getPrevSibling();
      if (prev != null) prev.delete();
      element.delete();
      if (nextComment != null) nextComment.delete();
      return keyValue;
    }
@Override
    public @NotNull PsiElement adjustPropertyAnchor(@NotNull LeafPsiElement element)