/* 303 */ return entry;
/* */ }
/* */
/* */ protected ServiceReferenceMetaData createServiceRef(Resource annotation, E element)
/* */ {
/* 308 */ ServiceReferenceMetaData ref = new ServiceReferenceMetaData();
/* 309 */ String name = annotation.name();
/* 310 */ if (name.length() == 0)
/* 311 */ name = getName(element);
/* 312 */ ref.setServiceRefName(name);
/* 313 */ if (annotation.mappedName().length() > 0)
/* 314 */ ref.setMappedName(annotation.mappedName());
/* 315 */ ref.setAnnotatedElement(element);
/* 316 */ DescriptionGroupMetaData dg = ProcessorUtils.getDescriptionGroup(annotation.description());
/* 317 */ if (dg != null)
/* 318 */ ref.setDescriptionGroup(dg);
/* 319 */ if (annotation.type() != Object.class)
/* 320 */ ref.setServiceRefType(annotation.type().getName());
/* */ else
/* 322 */ ref.setServiceRefType(getType(element));
/* 323 */ String injectionName = getInjectionName(element);
/* 324 */ Set injectionTargets = ProcessorUtils.getInjectionTargets(injectionName, element);
/* 325 */ if (injectionTargets != null) {
/* 326 */ ref.setInjectionTargets(injectionTargets);
/* */ }
/* 328 */ return ref;
/* */ }