public static Collection<TraitFieldDescriptor> readTraitFields(@NotNull DataInput in) throws IOException {
    return readSeq(in, () -> new TraitFieldDescriptor(in.readByte(), readUTF(in), readUTF(in), readSeq(in, () -> readUTF(in))));
  }
public static Collection<TraitFieldDescriptor> readTraitFields(@NotNull DataInput in)