private static void writeFileSegmentAttributes(@NotNull JsonWriter jsonWriter, Element fileSegment) throws IOException {
    writeFileAttribute(jsonWriter, fileSegment);
    writeSegmentAttributes(jsonWriter, fileSegment);
  }
private static void writeFileSegmentAttributes(@NotNull JsonWriter jsonWriter, Element fileSegment)