* Adds annotations to the bean. If annotations are added, returns the bean info for the instance
* @return The class bean info if no annotations exist or the instance bean info if annotations exist
*/
private BeanInfo addAnnotations(KernelControllerContext context, BeanMetaData beanMetaData, BeanInfo beanInfo)
{
MutableMetaDataContext metaCtx = addClassAnnotations(context, beanMetaData, beanInfo);
addPropertyAnnotations(metaCtx, context, beanMetaData, beanInfo);
return context.getBeanInfo();
}