protected void configure()

in src/main/java/com/googlesource/gerrit/plugins/download/command/DownloadCommandsModule.java [23:39]


  protected void configure() {
    bind(DownloadCommand.class).annotatedWith(Exports.named("Checkout")).to(CheckoutCommand.class);

    bind(DownloadCommand.class).annotatedWith(Exports.named("Branch")).to(BranchCommand.class);

    bind(DownloadCommand.class).annotatedWith(Exports.named("Reset To")).to(ResetCommand.class);

    bind(DownloadCommand.class)
        .annotatedWith(Exports.named("Cherry Pick"))
        .to(CherryPickCommand.class);

    bind(DownloadCommand.class)
        .annotatedWith(Exports.named("Format Patch"))
        .to(FormatPatchCommand.class);

    bind(DownloadCommand.class).annotatedWith(Exports.named("Pull")).to(PullCommand.class);
  }