builder.addPropertyReference(propertyName, value);
} else {
builder.addPropertyValue(propertyName, value);
}
<BUG>}
public static AbstractBeanDefinition getSourceBeanDefinition(BeanDefinitionBuilder builder, ParserContext context,
Element element) {
Assert.notNull(element, "Element must not be null!");
Assert.notNull(context, "ParserContext must not be null!");

return getSourceBeanDefinition(builder, context.extractSource(element));
</BUG>
}

builder.addPropertyReference(propertyName, value);
} else {
builder.addPropertyValue(propertyName, value);
}
}
return builder;
}
public static AbstractBeanDefinition getSourceBeanDefinition(BeanDefinitionBuilder builder,
ParserContext parserContext, Element element) {
Assert.notNull(parserContext, "ParserContext must not be null");
return getSourceBeanDefinition(builder, parserContext.extractSource(element));
}
