package org.realityforge.replicant.client.gwt;

import dagger.Module;
import dagger.Provides;
import javax.annotation.Nonnull;
import javax.inject.Singleton;
import org.realityforge.replicant.client.converger.ContextConvergerDaggerModule;
import org.realityforge.replicant.client.runtime.ReplicantClientSystem;
import replicant.AreaOfInterestServiceDaggerModule;

@Module( includes = { ContextConvergerDaggerModule.class, AreaOfInterestServiceDaggerModule.class } )
public interface ReplicantNetworkDaggerModule
{
  @Nonnull
  @Provides
  @Singleton
  static ReplicantClientSystem provideReplicantClientSystem( @Nonnull final GwtReplicantClientSystem service )
  {
    return service;
  }
}

package org.realityforge.replicant.client.gwt;

import dagger.Module;
import dagger.Provides;
import javax.annotation.Nonnull;
import javax.inject.Singleton;
import org.realityforge.replicant.client.converger.ContextConvergerDaggerModule;
import org.realityforge.replicant.client.runtime.ReplicantClientSystem;
import replicant.AreaOfInterestServiceDaggerModule;

@Module( includes = { GwtReplicantClientSystemDaggerModule.class, ContextConvergerDaggerModule.class, AreaOfInterestServiceDaggerModule.class } )
public interface ReplicantNetworkDaggerModule
{
  @Nonnull
  @Provides
  @Singleton
  static ReplicantClientSystem provideReplicantClientSystem( @Nonnull final GwtReplicantClientSystem service )
  {
    return service;
  }
}

Add required module