protected void configure()

in owners-autoassign/src/main/java/com/googlesource/gerrit/owners/common/AutoassignConfigModule.java [31:47]


  protected void configure() {
    bind(ProjectConfigEntry.class)
        .annotatedWith(Exports.named(PROJECT_CONFIG_AUTOASSIGN_WIP_CHANGES))
        .toInstance(
            new ProjectConfigEntry(
                "Auto-assign WIP changes", InheritableBoolean.TRUE, InheritableBoolean.class));
    bind(ProjectConfigEntry.class)
        .annotatedWith(Exports.named(PROJECT_CONFIG_AUTOASSIGN_FIELD))
        .toInstance(
            new ProjectConfigEntry(
                "Auto-assign field",
                ReviewerState.REVIEWER.name(),
                ProjectConfigEntryType.STRING,
                Arrays.asList(ReviewerState.CC.name(), ReviewerState.REVIEWER.name()),
                true,
                "Change field to use for the assigned accounts"));
  }