if (name.startsWith("global/") ||
name.startsWith("app/") ||
name.startsWith("module/") ||
name.startsWith("comp/")) {
ReferenceType referenceType = ejbLocalRefNames.contains(name) ? ReferenceType.EJB_LOCAL : ReferenceType.EJB;
String fullName = "java:" + name;
Set<InjectionTarget> injections = injectionsMap.get(fullName);
if(injections == null) {
injections = Collections.<InjectionTarget>emptySet();