@Override
  public CodeFoldingState readFoldingState(@NotNull Element element, @NotNull Document document) {
    DocumentFoldingInfo info = getDocumentFoldingInfo(document);
    info.readExternal(element);
    return info;
  }
@Override
  public CodeFoldingState readFoldingState(@NotNull Element element, @NotNull Document document)