CustomBeanConfig config = (CustomBeanConfig) value;
value = config.toObject();
}
else if (value instanceof AnnotationConfig) {
AnnotationConfig config = (AnnotationConfig) value;
value = config.replace();
}
if (_setMethod != null && value != null) {
if (! _setMethod.getParameterTypes()[0].isAssignableFrom(value.getClass()))
throw new ConfigException(L.l("'{0}.{1}' is not assignable from {2}",