in src/main/java/com/googlesource/gerrit/plugins/gitiles/PluginModule.java [60:73]
protected void configure() {
if (!noWebLinks) {
DynamicSet.bind(binder(), BranchWebLink.class).to(GitilesWeblinks.class);
DynamicSet.bind(binder(), FileHistoryWebLink.class).to(GitilesWeblinks.class);
DynamicSet.bind(binder(), FileWebLink.class).to(GitilesWeblinks.class);
DynamicSet.bind(binder(), ParentWebLink.class).to(GitilesWeblinks.class);
DynamicSet.bind(binder(), PatchSetWebLink.class).to(GitilesWeblinks.class);
DynamicSet.bind(binder(), ProjectWebLink.class).to(GitilesWeblinks.class);
DynamicSet.bind(binder(), TagWebLink.class).to(GitilesWeblinks.class);
}
bind(GitilesAccess.Factory.class).to(GerritGitilesAccess.Factory.class);
bind(new TypeLiteral<RepositoryResolver<HttpServletRequest>>() {}).to(Resolver.class);
listener().to(Lifecycle.class);
}