/* 178 */ if (trace)
/* 179 */ log.trace("created env-entry: " + entry);
/* */ }
/* 181 */ else if (isServiceRef(type))
/* */ {
/* 183 */ ServiceReferencesMetaData srefs = refs.getServiceReferences();
/* 184 */ if (srefs == null)
/* */ {
/* 186 */ srefs = new ServiceReferencesMetaData();
/* 187 */ refs.setServiceReferences(srefs);
/* */ }
/* 189 */ ServiceReferenceMetaData ref = createServiceRef(annotation, element);
/* 190 */ srefs.add(ref);
/* 191 */ if (trace)
/* 192 */ log.trace("created service-ref: " + ref);
/* */ }
/* 194 */ else if (isResourceRef(type))
/* */ {