protected void configure()

in src/main/java/com/github/reviewassistant/reviewassistant/Module.java [38:51]


  protected void configure() {
    DynamicSet.bind(binder(), EventListener.class).to(ChangeEventListener.class);
    bind(AdviceCache.class).to(AdviceCacheImpl.class);
    install(AdviceCacheImpl.module());
    factory(ReviewAssistant.Factory.class);

    install(
        new RestApiModule() {
          @Override
          protected void configure() {
            get(REVISION_KIND, "advice").to(GetAdvice.class);
          }
        });
  }