ref.setMappedName(annotation.mappedName());
if (annotation.type() != Object.class)
ref.setType(annotation.type().getName());
else
ref.setType(getType(element));
Descriptions descriptions = ProcessorUtils.getDescription(annotation.description());
if (descriptions != null)
ref.setDescriptions(descriptions);
String injectionName = getInjectionName(element);
Set<ResourceInjectionTargetMetaData> injectionTargets = ProcessorUtils