<commit_before>/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_repository_debugger_name) %>;

@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.imit.repository_debugger_name %>
  extends org.realityforge.replicant.client.EntityRepositoryDebugger
{
  public void outputRepository( final org.realityforge.replicant.client.EntityRepository repository )
  {
    final java.util.ArrayList<Class> types = repository.getTypes();
<%
repository.data_modules.select { |data_module| data_module.imit? }.each do |data_module|
  data_module.entities.select { |entity| entity.imit? && !entity.abstract? }.each do |entity|
-%>
    types.remove( <%= entity.imit.qualified_name %>.class );
    outputType( repository, <%= entity.imit.qualified_name %>.class );
<%
  end
end
%>
    for ( final Class type : types )
    {
      outputType( repository, type );
    }
  }

<% repository.imit.graphs.each do |graph| %>
  public void output<%= graph.name %>Graph( final org.realityforge.replicant.client.EntityRepository repository )
  {
<% (graph.instance_root? ? graph.reachable_entities : graph.type_roots ).collect{|e| repository.entity_by_name(e)}.each do |entity| -%>
    outputType( repository, <%= entity.imit.qualified_name %>.class );
<% end -%>
  }
<% end %>
}<commit_msg>Emit debugging for graphs based on subscriptions<commit_after>/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_repository_debugger_name) %>;

@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.imit.repository_debugger_name %>
  extends org.realityforge.replicant.client.EntityRepositoryDebugger
{
  public void outputRepository( final org.realityforge.replicant.client.EntityRepository repository )
  {
    final java.util.ArrayList<Class> types = repository.getTypes();
<%
repository.data_modules.select { |data_module| data_module.imit? }.each do |data_module|
  data_module.entities.select { |entity| entity.imit? && !entity.abstract? }.each do |entity|
-%>
    types.remove( <%= entity.imit.qualified_name %>.class );
    outputType( repository, <%= entity.imit.qualified_name %>.class );
<%
  end
end
%>
    for ( final Class type : types )
    {
      outputType( repository, type );
    }
  }
<% repository.imit.graphs.each do |graph| -%>

  public void output<%= graph.name %>Graph( final org.realityforge.replicant.client.EntityRepository repository, final org.realityforge.replicant.client.EntitySubscriptionManager subscriptionManager )
  {
    outputSubscription( repository, subscriptionManager, <%= repository.imit.qualified_graph_enum_name %>.<%= Domgen::Naming.uppercase_constantize(graph.name) %>, new Class[]{ <%= (graph.instance_root? ? graph.reachable_entities : graph.type_roots ).collect{|e| repository.entity_by_name(e)}.collect {|entity| "#{entity.imit.qualified_name}.class"}.join(', ') -%> } );
  }
<% end -%>
}
{'fraction_non_alphanumeric': 0.1462774680223024, 'fraction_numerical': 0.0, 'mean_word_length': 5.01577909270217, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1888477', 'n_tokens_mistral': 981, 'n_tokens_neox': 930, 'n_words': 177}