<commit_before>/* DO NOT EDIT: File is auto-generated */
package <%= struct.data_module.jaxb.package %>;

<%= description_javadoc_for(struct, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.xml.bind.annotation.XmlRootElement( name = "<%= struct.jaxb.xml_name %>"<%= namespace_annotation_parameter(struct.jaxb) %> )
@javax.xml.bind.annotation.XmlAccessorType( javax.xml.bind.annotation.XmlAccessType.FIELD )
public class <%= struct.jaxb.name %>
{
<% struct.fields.each do |field| %>
  <%= jaxb_field_annotation(field) %>
  private final <%= annotated_type(field, :jaxb) %> <%= field.jaxb.name %>;
<% end %>

  public <%= struct.jaxb.name %>( <%= struct.fields.collect {|field| "final #{annotated_type(field, :jaxb) } #{field.jaxb.name}" }.join(", ") %> )
  {
<% struct.fields.each do |field|
     if field.struct? && field.collection_type != :none
%>    this.<%= field.jaxb.name %> = java.util.Collections.unmodifiableList( new java.util.ArrayList<<%= field.jaxb.java_component_type %>>( <%= field.jaxb.name %> ) );
<%     else
%>    this.<%= field.jaxb.name %> = <%= field.jaxb.name %>;
<%   end
   end
%>  }
<% struct.fields.each do |field|
%>
  public <%= annotated_type(field, :jaxb) %> <%= getter_prefix(field) %><%= field.name %>()
  {
    return <%= field.jaxb.name %>;
  }
<% end<commit_msg>Ensure that the generated types have no-arg constructor for compatibility with JAXB serialisation rules<commit_after>/* DO NOT EDIT: File is auto-generated */
package <%= struct.data_module.jaxb.package %>;

<%= description_javadoc_for(struct, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.xml.bind.annotation.XmlRootElement( name = "<%= struct.jaxb.xml_name %>"<%= namespace_annotation_parameter(struct.jaxb) %> )
@javax.xml.bind.annotation.XmlAccessorType( javax.xml.bind.annotation.XmlAccessType.FIELD )
public class <%= struct.jaxb.name %>
{
<% struct.fields.each do |field| %>
  <%= jaxb_field_annotation(field) %>
  private <%= annotated_type(field, :jaxb) %> <%= field.jaxb.name %>;
<% end %>

<% if struct.fields.size > 0 %>
  private <%= struct.jaxb.name %>()
  {
  }
<% end %>

  public <%= struct.jaxb.name %>( <%= struct.fields.collect {|field| "final #{annotated_type(field, :jaxb) } #{field.jaxb.name}" }.join(", ") %> )
  {
<% struct.fields.each do |field|
     if field.struct? && field.collection_type != :none
%>    this.<%= field.jaxb.name %> = java.util.Collections.unmodifiableList( new java.util.ArrayList<<%= field.jaxb.java_component_type %>>( <%= field.jaxb.name %> ) );
<%     else
%>    this.<%= field.jaxb.name %> = <%= field.jaxb.name %>;
<%   end
   end
%>  }
<% struct.fields.each do |field|
%>
  public <%= annotated_type(field, :jaxb) %> <%= getter_prefix(field) %><%= field.name %>()
  {
    return <%= field.jaxb.name %>;
  }
<% end
{'fraction_non_alphanumeric': 0.20733817930079612, 'fraction_numerical': 0.00034614053305642093, 'mean_word_length': 4.452830188679245, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4921656', 'n_tokens_mistral': 1094, 'n_tokens_neox': 991, 'n_words': 165}