docs: protected <T> T getInstanceByType(BeanManager manager, Class<T> type, Annotation... bindings) {
          final Bean<?> bean = manager.resolve(manager.getBeans(type, bindings));
          if (bean == null) {
              throw CommonLogger.LOG.unableToResolveBean(type, Arrays.asList(bindings));
          }
          CreationalContext<?> cc = manager.createCreationalContext(bean);
          return type.cast(manager.getReference(bean, type, cc));
      }