return;
}
// try register named component
if (component.isAnnotationPresent(Named.class)) {
Named named = ((Class<?>) component).getAnnotation(Named.class);
logger.debug("Binding {} to {} with @Named({})", new Object[] { required, component, named.value() });
binder.bind(required).annotatedWith(named).to(component);
} else if (!boundClasses.contains(required)) {
logger.debug("Binding {} to {}", required, component);
binder.bind(required).to(component);
boundClasses.add(required);