in src/main/java/com/googlesource/gerrit/plugins/changemessage/Module.java [27:39]
protected void configure() {
bind(ProjectConfigEntry.class)
.annotatedWith(Exports.named("changeInfo"))
.toInstance(new ProjectConfigEntry("Change Info Message", null, true));
install(
new RestApiModule() {
@Override
protected void configure() {
get(CHANGE_KIND, "info").to(GetChangeInfo.class);
}
});
}