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

@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "PMD.SwitchStmtsShouldHaveDefault" } )
public class <%= repository.imit.ee_data_loader_listener_name %>
  extends org.realityforge.replicant.client.ee.EeDataLoaderListener
{
  private final <%= repository.arez.qualified_root_repository_name %> _repository;

  public <%= repository.imit.ee_data_loader_listener_name %>( @javax.annotation.Nonnull final javax.enterprise.inject.spi.BeanManager beanManager, @javax.annotation.Nonnull final <%= repository.arez.qualified_root_repository_name %> repository )
  {
    super( beanManager, new <%= repository.ee.qualified_cdi_qualifier_literal_name %>(), "<%= repository.name %>" );
    _repository = java.util.Objects.requireNonNull( repository );
  }

  @java.lang.Override
  public void onSubscribeStarted( @javax.annotation.Nonnull final org.realityforge.replicant.client.transport.DataLoaderService service, @javax.annotation.Nonnull final org.realityforge.replicant.client.ChannelDescriptor descriptor )
  {
    if ( !(descriptor.getGraph() instanceof <%= repository.imit.qualified_graph_enum_name %>) )
    {
      return;
    }
    switch ( (<%= repository.imit.qualified_graph_enum_name %>) descriptor.getGraph() )
    {
<% repository.imit.graphs.each do |graph| -%>
      case <%= Reality::Naming.uppercase_constantize(graph.name) %>:
        fireEvent( new <%= graph.subscribe_started_message.ee.qualified_name %>(<% if graph.instance_root? -%> (<%= repository.entity_by_name(graph.instance_root).primary_key.imit.java_type %>) descriptor.getID() <% end %>) );
        break;
<% end -%>
    }
  }
<commit_msg>Suppress a findbugs warning from latest find bugs<commit_after>/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_ee_data_loader_listener_name) %>;

@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "PMD.SwitchStmtsShouldHaveDefault" } )
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings( { "UC_USELESS_VOID_METHOD" } )
public class <%= repository.imit.ee_data_loader_listener_name %>
  extends org.realityforge.replicant.client.ee.EeDataLoaderListener
{
  private final <%= repository.arez.qualified_root_repository_name %> _repository;

  public <%= repository.imit.ee_data_loader_listener_name %>( @javax.annotation.Nonnull final javax.enterprise.inject.spi.BeanManager beanManager, @javax.annotation.Nonnull final <%= repository.arez.qualified_root_repository_name %> repository )
  {
    super( beanManager, new <%= repository.ee.qualified_cdi_qualifier_literal_name %>(), "<%= repository.name %>" );
    _repository = java.util.Objects.requireNonNull( repository );
  }

  @java.lang.Override
  public void onSubscribeStarted( @javax.annotation.Nonnull final org.realityforge.replicant.client.transport.DataLoaderService service, @javax.annotation.Nonnull final org.realityforge.replicant.client.ChannelDescriptor descriptor )
  {
    if ( !(descriptor.getGraph() instanceof <%= repository.imit.qualified_graph_enum_name %>) )
    {
      return;
    }
    switch ( (<%= repository.imit.qualified_graph_enum_name %>) descriptor.getGraph() )
    {
<% repository.imit.graphs.each do |graph| -%>
      case <%= Reality::Naming.uppercase_constantize(graph.name) %>:
        fireEvent( new <%= graph.subscribe_started_message.ee.qualified_name %>(<% if graph.instance_root? -%> (<%= repository.entity_by_name(graph.instance_root).primary_key.imit.java_type %>) descriptor.getID() <% end %>) );
        break;
<% end -%>
    }
  }

{'fraction_non_alphanumeric': 0.1346782988004362, 'fraction_numerical': 0.0, 'mean_word_length': 5.197635135135135, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '3873119', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1112, 'n_words': 159}