com.google.inject.internal.ModuleAnnotatedMethodScannerProcessor Maven / Gradle / Ivy
package com.google.inject.internal;
import com.google.inject.spi.ModuleAnnotatedMethodScannerBinding;
/**
* Handles {@code Binder.scanModulesForAnnotatedMethods} commands.
*/
final class ModuleAnnotatedMethodScannerProcessor extends AbstractProcessor {
ModuleAnnotatedMethodScannerProcessor(Errors errors) {
super(errors);
}
@Override
public Boolean visit(ModuleAnnotatedMethodScannerBinding command) {
injector.state.addScanner(command);
return true;
}
}