{
try {
if (value instanceof CustomBeanConfig) {
CustomBeanConfig config = (CustomBeanConfig) value;
value = config.toObject();
}
else if (value instanceof AnnotationConfig) {
AnnotationConfig config = (AnnotationConfig) value;
value = config.replace();