docs: @SuppressWarnings("unchecked")
    private boolean handleCollection(
      final ConfigurationContext ctx,
      final Class<?> _type,
      final Object cfg,
      final ParsedConfiguration _parsedCfg) {
      String _containerName = _parsedCfg.getContainer();
      Method m;
      try {
        m = cfg.getClass().getMethod(constructGetterName(_containerName));
      } catch (NoSuchMethodException ex) {
        return false;
      }
      if (!Collection.class.isAssignableFrom(m.getReturnType())) {
        return false;
      }
      Collection c;
      try {
        c = (Collection) m.invoke(cfg);
      } catch (Exception ex) {
        throw new ConfigurationException("Cannot access collection for '" + _containerName + "' " + ex, _parsedCfg);
      }
      Object _bean = createBeanAndApplyConfiguration(ctx, _type, _parsedCfg);
      try {
        c.add(_bean);
      } catch (IllegalArgumentException ex) {
        throw new ConfigurationException("Rejected add '" + _containerName + "': " + ex.getMessage(), _parsedCfg);
      }
      return true;
    }